|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyObjectSupport
brooklyn.entity.basic.AbstractEntity
brooklyn.example.cloudfoundry.MovableElasticWebAppCluster
@InheritConstructors class MovableElasticWebAppCluster extends AbstractEntity
Field Summary | |
---|---|
static Effector |
CREATE_SECONDARY_IN_LOCATION
|
static Effector |
DESTROY_SECONDARY
|
static BasicAttributeSensor |
PRIMARY_SVC_ENTITY_ID
|
static Effector |
PROMOTE_SECONDARY
|
static BasicConfigKey |
ROOT_WAR
|
static BasicAttributeSensor |
SECONDARY_SVC_ENTITY_IDS
|
static Logger |
log
|
Fields inherited from class AbstractEntity | |
---|---|
LOG, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, application, attributesInternal, configsInternal, execution, managementContext, managementData, subscription, tempWorkings |
Method Summary | |
---|---|
EntityLocal
|
createClusterIn(Location location)
|
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
|
move(java.lang.String location)
|
java.lang.String
|
promoteSecondary(java.lang.String idOfSecondaryToPromote)
promotes the indicated secondary, returning the ID of the former-primary which has been demoted |
void
|
restart()
|
void
|
start(java.util.Collection locations)
|
void
|
stop()
|
Methods inherited from class groovy.lang.GroovyObjectSupport | |
---|---|
groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll() |
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 BasicConfigKey ROOT_WAR
public static final BasicAttributeSensor SECONDARY_SVC_ENTITY_IDS
public static final Logger log
Method Detail |
---|
EntityLocal createClusterIn(Location location)
@Description("create a new secondary instance in the given location") java.lang.String createSecondaryInLocation(@NamedParameter("location") @Description("the location where to start the secondary") java.lang.String l)
@Description("destroy the indicated secondary") void destroySecondary(@NamedParameter("idOfSecondaryToDestroy") @Description("ID of secondary entity to destroy") java.lang.String idOfSecondaryToDestroy)
@Override java.lang.String move(java.lang.String location)
@Description("promote the indicated secondary to primary (demoting the existing primary)") java.lang.String promoteSecondary(@NamedParameter("idOfSecondaryToPromote") @Description("ID of secondary entity to promote") java.lang.String idOfSecondaryToPromote)
@Override void restart()
@Override void start(java.util.Collection locations)
@Override void stop()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.