Brooklyn

brooklyn.entity.group
[Java] Interface DynamicRegionsFabric

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

@ImplementedBy(DynamicRegionsFabricImpl.class)
public interface DynamicRegionsFabric
extends DynamicFabric

Field Summary
MethodEffector ADD_REGION

MethodEffector REMOVE_REGION

 
Fields inherited from interface DynamicFabric
CUSTOM_CHILD_FLAGS, DISPLAY_NAME_PREFIX, DISPLAY_NAME_SUFFIX, FABRIC_SIZE, FACTORY, MEMBER_SPEC, SERVICE_STATE
 
Fields inherited from interface Startable
RESTART, SERVICE_UP, START, STOP
 
Fields inherited from interface Changeable
GROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVED
 
Method Summary
java.lang.String addRegion(java.lang.String location)

void removeRegion(java.lang.String id)

 
Methods inherited from interface DynamicFabric
getFabricSize, setFactory, setMemberSpec
 
Methods inherited from interface Startable
restart, start, stop
 
Methods inherited from interface AbstractGroup
setMembers, setMembers
 
Methods inherited from interface Entity
addChild, addChild, addEnricher, addGroup, addPolicy, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removePolicy, setParent
 
Methods inherited from interface Group
addMember, getCurrentSize, getMembers, hasMember, removeMember
 

Field Detail

ADD_REGION

public MethodEffector ADD_REGION


REMOVE_REGION

public MethodEffector REMOVE_REGION


 
Method Detail

addRegion

@Effector(description="Extends the fabric with a new instance of the fabric's underlying blueprint in a new region, "+
            "returning the id of the new entity")
public java.lang.String addRegion(@EffectorParam(name="location", description="Location spec string "
                    + "(e.g. aws-ec2:us-west-1)") java.lang.String location)


removeRegion

@Effector(description="Stops and removes a region")
public void removeRegion(@EffectorParam(name="id", description="ID of the child entity to stop and remove") java.lang.String id)


 

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