|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.entity.rebind.Rebindable brooklyn.entity.Entity brooklyn.example.cloudfoundry.MovableElasticWebAppCluster brooklyn.example.cloudfoundry.MovableEntityTrait brooklyn.entity.trait.Startable
@ImplementedBy(MovableElasticWebAppClusterImpl.class) public interface MovableElasticWebAppCluster extends Entity, MovableEntityTrait, Startable
Field Summary | |
---|---|
static Effector |
CREATE_SECONDARY_IN_LOCATION
|
static Effector |
DESTROY_SECONDARY
|
static BasicAttributeSensor |
PRIMARY_SVC_ENTITY_ID
|
static Effector |
PROMOTE_SECONDARY
|
static ConfigKey |
ROOT_WAR
|
static BasicAttributeSensor |
SECONDARY_SVC_ENTITY_IDS
|
static BasicConfigKey |
TIME_TO_LIVE_SECONDS
|
Fields inherited from interface MovableEntityTrait | |
---|---|
MOVE |
Fields inherited from interface Startable | |
---|---|
RESTART, SERVICE_UP, START, STOP |
Method Summary | |
---|---|
java.lang.String
|
createSecondaryInLocation(java.lang.String l)
creates a new secondary instance, in the given location, returning the ID of the secondary created and started |
void
|
destroySecondary(java.lang.String idOfSecondaryToDestroy)
destroys the indicated secondary |
java.lang.String
|
promoteSecondary(java.lang.String idOfSecondaryToPromote)
promotes the indicated secondary, returning the ID of the former-primary which has been demoted |
Methods inherited from interface Entity | |
---|---|
addChild, addEnricher, addGroup, addOwnedChild, addPolicy, clearOwner, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getDisplayName, getEnrichers, getEntityType, getGroups, getId, getLocations, getOwnedChildren, getOwner, getParent, getPolicies, invoke, removeChild, removeEnricher, removeOwnedChild, removePolicy, setOwner, setParent |
Methods inherited from interface MovableEntityTrait | |
---|---|
move |
Methods inherited from interface Startable | |
---|---|
restart, start, stop |
Field Detail |
---|
public static final Effector CREATE_SECONDARY_IN_LOCATION
public static final Effector DESTROY_SECONDARY
public static final BasicAttributeSensor PRIMARY_SVC_ENTITY_ID
public static final Effector PROMOTE_SECONDARY
@SetFromFlag("war") public static final ConfigKey ROOT_WAR
public static final BasicAttributeSensor SECONDARY_SVC_ENTITY_IDS
@SetFromFlag("ttl") public static final BasicConfigKey TIME_TO_LIVE_SECONDS
Method Detail |
---|
@Description("create a new secondary instance in the given location") public java.lang.String createSecondaryInLocation(@NamedParameter("location") @Description("the location where to start the secondary") java.lang.String l)
@Description("destroy the indicated secondary") public void destroySecondary(@NamedParameter("idOfSecondaryToDestroy") @Description("ID of secondary entity to destroy") java.lang.String idOfSecondaryToDestroy)
@Description("promote the indicated secondary to primary (demoting the existing primary)") public java.lang.String promoteSecondary(@NamedParameter("idOfSecondaryToPromote") @Description("ID of secondary entity to promote") java.lang.String idOfSecondaryToPromote)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.