public interface BalanceableWorkerPool extends Entity, Resizable
The containers must be "up" in order to receive work, thus they must NOT follow the default enricher pattern for groups which says that the group must be up to receive work.
Modifier and Type | Interface and Description |
---|---|
static class |
BalanceableWorkerPool.ContainerItemPair
Encapsulates an item and a container; emitted for
ITEM_ADDED , ITEM_REMOVED and
ITEM_MOVED sensors. |
BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Modifier and Type | Field and Description |
---|---|
static BasicNotificationSensor<Entity> |
CONTAINER_ADDED |
static BasicNotificationSensor<Entity> |
CONTAINER_REMOVED |
static BasicNotificationSensor<BalanceableWorkerPool.ContainerItemPair> |
ITEM_ADDED |
static BasicNotificationSensor<BalanceableWorkerPool.ContainerItemPair> |
ITEM_MOVED |
static BasicNotificationSensor<BalanceableWorkerPool.ContainerItemPair> |
ITEM_REMOVED |
Modifier and Type | Method and Description |
---|---|
Group |
getContainerGroup() |
Group |
getItemGroup() |
void |
setContents(Group containerGroup,
Group itemGroup) |
void |
setResizable(Resizable resizable) |
addChild, 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, setParent
getCatalogItemId, getTagSupport, tags
config, setConfig
getCurrentSize, resize
static final BasicNotificationSensor<Entity> CONTAINER_ADDED
static final BasicNotificationSensor<Entity> CONTAINER_REMOVED
static final BasicNotificationSensor<BalanceableWorkerPool.ContainerItemPair> ITEM_ADDED
static final BasicNotificationSensor<BalanceableWorkerPool.ContainerItemPair> ITEM_REMOVED
static final BasicNotificationSensor<BalanceableWorkerPool.ContainerItemPair> ITEM_MOVED