|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.entity.trait.Identifiablebrooklyn.policy.loadbalancing.BalanceableWorkerPool
brooklyn.entity.trait.Resizable
brooklyn.entity.Entity
@ImplementedBy(BalanceableWorkerPoolImpl.class) public interface BalanceableWorkerPool extends Entity, Resizable
Represents an elastic group of "container" entities, each of which is capable of hosting "item" entities that perform work and consume the container's available resources (e.g. CPU or bandwidth). Auto-scaling and load-balancing policies can be attached to this pool to provide dynamic elasticity based on workrates reported by the individual item entities.
Nested Class Summary | |
---|---|
static class |
BalanceableWorkerPool.ContainerItemPair
Encapsulates an item and a container; emitted for |
Field Summary | |
---|---|
static BasicNotificationSensor |
CONTAINER_ADDED
|
static BasicNotificationSensor |
CONTAINER_REMOVED
|
static BasicNotificationSensor |
ITEM_ADDED
|
static BasicNotificationSensor |
ITEM_MOVED
|
static BasicNotificationSensor |
ITEM_REMOVED
|
Fields inherited from interface Resizable | |
---|---|
RESIZE |
Method Summary | |
---|---|
Group
|
getContainerGroup()
|
Group
|
getItemGroup()
|
void
|
setContents(Group containerGroup, Group itemGroup)
|
void
|
setResizable(Resizable resizable)
|
Methods inherited from interface Resizable | |
---|---|
getCurrentSize, resize |
Methods inherited from interface Entity | |
---|---|
addChild, addChild, addEnricher, addEnricher, addGroup, addPolicy, addPolicy, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, invoke, removeChild, removeEnricher, removePolicy, setParent |
Methods inherited from interface Identifiable | |
---|---|
getId |
Field Detail |
---|
public static BasicNotificationSensor CONTAINER_ADDED
public static BasicNotificationSensor CONTAINER_REMOVED
public static BasicNotificationSensor ITEM_ADDED
public static BasicNotificationSensor ITEM_MOVED
public static BasicNotificationSensor ITEM_REMOVED
Method Detail |
---|
public Group getContainerGroup()
public Group getItemGroup()
public void setContents(Group containerGroup, Group itemGroup)
public void setResizable(Resizable resizable)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.