Brooklyn

brooklyn.entity.group
[Java] Interface DynamicFabric

brooklyn.entity.Entity
  brooklyn.entity.Group
      brooklyn.entity.trait.Startable
          brooklyn.entity.trait.Changeable
              brooklyn.entity.group.Tier
                  brooklyn.entity.group.Fabric
                      brooklyn.entity.group.DynamicFabric
                          brooklyn.entity.basic.AbstractGroup
                              brooklyn.entity.rebind.Rebindable
All Superinterfaces:
Entity, Group, Startable, Changeable, Tier, Fabric, AbstractGroup, Rebindable

@ImplementedBy(DynamicFabricImpl.class)
public interface DynamicFabric
extends AbstractGroup, Fabric, Startable

When a dynamic fabric is started, it starts an entity in each of its locations. This entity will be the parent of each of the started entities.


Field Summary
static ConfigKey CUSTOM_CHILD_FLAGS

static ConfigKey DISPLAY_NAME_PREFIX

static ConfigKey DISPLAY_NAME_SUFFIX

static BasicAttributeSensor FABRIC_SIZE

static ConfigKey FACTORY

static ConfigKey MEMBER_SPEC

 
Fields inherited from interface Startable
RESTART, SERVICE_UP, START, STOP
 
Method Summary
java.lang.Integer getFabricSize()

void setFactory(EntityFactory factory)

void setMemberSpec(EntitySpec memberSpec)

 
Methods inherited from interface Startable
restart, start, stop
 
Methods inherited from interface AbstractGroup
setMembers, setMembers
 
Methods inherited from interface Entity
addChild, addChild, addEnricher, addGroup, addOwnedChild, addPolicy, clearOwner, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getDisplayName, getEnrichers, getEntityType, getGroups, getId, getLocations, getOwnedChildren, getOwner, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removeOwnedChild, removePolicy, setOwner, setParent
 
Methods inherited from interface Group
addMember, getCurrentSize, getMembers, hasMember, removeMember
 

Field Detail

CUSTOM_CHILD_FLAGS

@SetFromFlag("customChildFlags")
public static final ConfigKey CUSTOM_CHILD_FLAGS


DISPLAY_NAME_PREFIX

@SetFromFlag("displayNamePrefix")
public static final ConfigKey DISPLAY_NAME_PREFIX


DISPLAY_NAME_SUFFIX

@SetFromFlag("displayNameSuffix")
public static final ConfigKey DISPLAY_NAME_SUFFIX


FABRIC_SIZE

public static final BasicAttributeSensor FABRIC_SIZE


FACTORY

@SetFromFlag("factory")
public static final ConfigKey FACTORY


MEMBER_SPEC

@SetFromFlag("memberSpec")
public static final ConfigKey MEMBER_SPEC


 
Method Detail

getFabricSize

public java.lang.Integer getFabricSize()


setFactory

public void setFactory(EntityFactory factory)


setMemberSpec

public void setMemberSpec(EntitySpec memberSpec)


 

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