|
Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface Resizable
Defines an entity group that can be re-sized dynamically.
By invoking the resize(Integer) effector, the number of child nodes can be reduced (by shutting down some of them) or increased (by provisioning new entities.)| Field Summary | |
|---|---|
Effector |
RESIZE
|
| Method Summary | |
|---|---|
java.lang.Integer
|
getCurrentSize()
@return the current size of the group. |
java.lang.Integer
|
resize(java.lang.Integer desiredSize)
Grow or shrink this entity to the desired size. |
| Field Detail |
|---|
public Effector RESIZE
| Method Detail |
|---|
public java.lang.Integer getCurrentSize()
@Description("Changes the size of the entity (e.g. the number of nodes in a cluster)")
public java.lang.Integer resize(@NamedParameter("desiredSize") @Description("The new size of the cluster") java.lang.Integer desiredSize)
desiredSize - the new size of the entity group.
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.