public class BalanceableWorkerPoolImpl extends AbstractEntity implements BalanceableWorkerPool
BalanceableWorkerPoolBalanceableWorkerPool.ContainerItemPairBrooklynObject.TagSupportConfigurable.ConfigurationSupportEntityInternal.FeedSupportBrooklynObjectInternal.ConfigurationSupportInternalCHILD_ADDED, CHILD_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, LOCATION_ADDED, LOCATION_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVEDCONTAINER_ADDED, CONTAINER_REMOVED, ITEM_ADDED, ITEM_MOVED, ITEM_REMOVED| Constructor and Description |
|---|
BalanceableWorkerPoolImpl() |
| Modifier and Type | Method and Description |
|---|---|
Group |
getContainerGroup() |
java.lang.Integer |
getCurrentSize() |
Group |
getItemGroup() |
java.lang.Integer |
resize(java.lang.Integer desiredSize)
Grow or shrink this entity to the desired size.
|
void |
setContents(Group containerGroup,
Group itemGroup) |
void |
setResizable(Resizable resizable) |
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, addTag, clearLocations, clearParent, config, configure, configure, configure, configure, configure, containsTag, destroy, emit, emitInternal, equals, feeds, firstLocation, getAllAttributes, getAllConfig, getAllConfigBag, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityType, getExecutionContext, getFeedSupport, getGroups, getIconUrl, getLocalConfigBag, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getTags, hashCode, init, invalidateReferences, invoke, invoke, invoke, modifyAttribute, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeGroup, removeLocations, removePolicy, removeTag, requestPersist, resetProxy, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, unsubscribe, unsubscribegetCatalogItemId, getId, getTagSupport, rebind, setCatalogItemId, tagsaddChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, addTag, clearParent, containsTag, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getTags, invoke, removeChild, removeEnricher, removeGroup, removePolicy, removeTag, setParentgetCatalogItemId, getTagSupport, tagsconfig, setConfigsetCatalogItemIdpublic void setResizable(Resizable resizable)
setResizable in interface BalanceableWorkerPoolpublic void setContents(Group containerGroup, Group itemGroup)
setContents in interface BalanceableWorkerPoolpublic Group getContainerGroup()
getContainerGroup in interface BalanceableWorkerPoolpublic Group getItemGroup()
getItemGroup in interface BalanceableWorkerPoolpublic java.lang.Integer getCurrentSize()
getCurrentSize in interface Resizablepublic java.lang.Integer resize(java.lang.Integer desiredSize)
Resizable