All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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();
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy