Brooklyn

brooklyn.policy.loadbalancing
[Java] Interface Movable

brooklyn.entity.rebind.Rebindable
  brooklyn.entity.Entity
      brooklyn.policy.loadbalancing.Movable
          brooklyn.entity.trait.Identifiable
All Superinterfaces:
Rebindable, Entity, Identifiable

public interface Movable
extends Entity

Represents an item that can be migrated between balanceable containers.


Field Summary
static BasicAttributeSensor CONTAINER

static ConfigKey IMMOVABLE

static MethodEffector MOVE

 
Method Summary
java.lang.String getContainerId()

void move(Entity destination)

 
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 Rebindable
getRebindSupport
 
Methods inherited from interface Identifiable
getId
 

Field Detail

CONTAINER

public static BasicAttributeSensor CONTAINER


IMMOVABLE

@SetFromFlag("immovable")
public static ConfigKey IMMOVABLE


MOVE

public static final MethodEffector MOVE


 
Method Detail

getContainerId

public java.lang.String getContainerId()


move

@Effector(description="Moves this entity to the given container")
public void move(@EffectorParam(name="destination") Entity destination)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.