|
Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.lang.GroovyObjectSupport
brooklyn.entity.basic.AbstractEntity
brooklyn.entity.group.DynamicFabric
public class DynamicFabric extends AbstractEntity
When a dynamic fabric is started, it starts an entity in each of its locations. This entity will be the owner of each of the started entities.
| Field Summary | |
|---|---|
static BasicAttributeSensor |
FABRIC_SIZE
|
| Fields inherited from class AbstractEntity | |
|---|---|
| LOG, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, application, attributesInternal, configsInternal, execution, managementContext, managementData, subscription, tempWorkings |
| Constructor Summary | |
DynamicFabric(java.util.Map properties, Entity owner)
Instantiate a new DynamicFabric. |
|
DynamicFabric(java.util.Map properties)
|
|
DynamicFabric(Entity owner)
|
|
| Method Summary | |
|---|---|
protected Entity
|
addCluster(Location location)
|
protected java.util.Map
|
getCustomChildFlags()
|
void
|
restart()
|
void
|
start(java.util.Collection locations)
|
void
|
stop()
|
protected void
|
waitForTasksOnStart(java.util.Map tasks)
|
| 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 BasicAttributeSensor FABRIC_SIZE
| Constructor Detail |
|---|
public DynamicFabric(java.util.Map properties, Entity owner)
properties - the properties of the fabric and any new entity.owner - the entity that owns this fabric (optional)
public DynamicFabric(java.util.Map properties)
public DynamicFabric(Entity owner)
| Method Detail |
|---|
protected Entity addCluster(Location location)
protected java.util.Map getCustomChildFlags()
public void restart()
@Override public void start(java.util.Collection locations)
public void stop()
protected void waitForTasksOnStart(java.util.Map tasks)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.