brooklyn.policy.loadbalancing.BalanceableContainer Maven / Gradle / Ivy
package brooklyn.policy.loadbalancing;
import java.util.Set;
import brooklyn.entity.Entity;
import brooklyn.event.basic.BasicNotificationSensor;
/**
* Contains worker items that can be moved between this container and others to effect load balancing.
* Membership of a balanceable container does not imply a parent-child relationship in the Brooklyn
* management sense.
*/
public interface BalanceableContainer extends Entity {
public static BasicNotificationSensor ITEM_ADDED = new BasicNotificationSensor(
Entity.class, "balanceablecontainer.item.added", "Movable item added to balanceable container");
public static BasicNotificationSensor ITEM_REMOVED = new BasicNotificationSensor(
Entity.class, "balanceablecontainer.item.removed", "Movable item removed from balanceable container");
public Set getBalanceableItems();
}