Brooklyn

brooklyn.policy.loadbalancing
[Groovy] Interface Movable

brooklyn.policy.loadbalancing.Movable
  brooklyn.entity.Entity
All Superinterfaces:
Entity

interface Movable
extends Entity

Represents an item that can be migrated between balanceable containers.


Field Summary
static BasicAttributeSensor CONTAINER

static ConfigKey IMMOVABLE

static Effector MOVE

 
Method Summary
java.lang.String getContainerId()

void move(Entity destination)

 
Methods inherited from interface Entity
addGroup, addOwnedChild, clearOwner, getApplication, getApplicationId, getAttribute, getConfig, getDisplayName, getEnrichers, getEntityType, getGroups, getId, getLocations, getOwnedChildren, getOwner, getPolicies, invoke, removeOwnedChild, setOwner
 

Field Detail

CONTAINER

public static BasicAttributeSensor CONTAINER


IMMOVABLE

@SetFromFlag("immovable")
public static ConfigKey IMMOVABLE


MOVE

public static final Effector MOVE


 
Method Detail

getContainerId

java.lang.String getContainerId()


move

@Description("Moves this entity to the given container")
void move(@NamedParameter("destination") Entity destination)


 

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