|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.entity.rebind.Rebindablebrooklyn.policy.loadbalancing.BalanceableWorkerPool
brooklyn.entity.Entity
brooklyn.entity.trait.Identifiable
brooklyn.entity.trait.Resizable
@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 ITEM_ADDED, ITEM_REMOVED and ITEM_MOVED sensors. |
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 Entity | |
---|---|
addChild, addChild, addEnricher, addGroup, addPolicy, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removePolicy, setParent |
Methods inherited from interface Resizable | |
---|---|
getCurrentSize, resize |
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.