public class SequenceGroupImpl extends DynamicGroupImpl implements SequenceGroup
AbstractEntity.BasicConfigurationSupport, AbstractEntity.BasicEnricherSupport, AbstractEntity.BasicGroupSupport, AbstractEntity.BasicPolicySupport, AbstractEntity.BasicSensorSupport, AbstractEntity.BasicSubscriptionSupport
Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
EntityInternal.EnricherSupportInternal, EntityInternal.EntitySubscriptionSupportInternal, EntityInternal.FeedSupport, EntityInternal.GroupSupportInternal, EntityInternal.PolicySupportInternal, EntityInternal.SensorSupportInternal
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
APPLICATION_ID, CATALOG_ID, CHILD_ADDED, CHILD_REMOVED, CONFIG_KEY_ADDED, CONFIG_KEY_REMOVED, DEFAULT_DISPLAY_NAME, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, ENTITY_ID, GROUP_ADDED, GROUP_REMOVED, LOCATION_ADDED, LOCATION_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED
ENTITY_FILTER, RESET, SEQUENCE_CACHE, SEQUENCE_CURRENT, SEQUENCE_FORMAT, SEQUENCE_INCREMENT, SEQUENCE_START, SEQUENCE_STATE, SEQUENCE_STRING, SEQUENCE_STRING_SENSOR, SEQUENCE_VALUE, SEQUENCE_VALUE_SENSOR
RESCAN_EFFECTOR, RUNNING
FIRST, GROUP_MEMBERS, MEMBER_DELEGATE_CHILDREN, MEMBER_DELEGATE_NAME_FORMAT, RUNNING_QUORUM_CHECK, UP_QUORUM_CHECK
GROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVED
Constructor and Description |
---|
SequenceGroupImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
addMember(Entity member)
Adds the given entity as a member of this group and this group as one of the groups of the child
|
void |
init()
Default entity initialization sets ID sensors and calls
AbstractEntity.initEnrichers() . |
boolean |
removeMember(Entity member)
Returns
true if the group was changed as a result of the call. |
java.lang.Void |
reset() |
addSubscription, addSubscription, entityFilter, onManagementBecomingMaster, onManagementNoLongerMaster, rescanEntities, setEntityFilter, stop
addMemberChild, addMemberChild, addMemberInternal, getCurrentSize, getMembers, hasMember, setManagementContext, setMembers, setMembers
addChild, addChild, addFeed, addLocations, addLocationsWithoutPublishing, clearLocations, clearParent, config, configure, configure, destroy, enrichers, equals, feeds, firstLocation, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getCreationTime, getDisplayName, getEffector, getEntityType, getExecutionContext, getIconUrl, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getProxy, getProxyIfAvailable, getRebindSupport, groups, hashCode, invalidateReferences, invoke, invoke, invoke, onManagementStarted, onManagementStarting, onManagementStopped, policies, relations, removeChild, removeLocations, requestPersist, resetProxy, sensors, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setParent, setProxy, subscriptions, toMetadataRecord, toString
addSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId, tags
addSubscription, addSubscription, entityFilter, rescanEntities, setEntityFilter, stop
getFirst, setMembers, setMembers
addChild, addChild, addMemberChild, addMemberChild, getCurrentSize, getMembers, hasMember
addFeed, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEntityType, getIconUrl, getId, getLocations, getParent, groups, invoke, policies, relations, removeChild, sensors, setDisplayName, setParent
getCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tags
config, getConfig
addSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId
public void init()
AbstractEntity
AbstractEntity.initEnrichers()
.init
in class DynamicGroupImpl
public java.lang.Void reset()
reset
in interface SequenceGroup
public boolean addMember(Entity member)
AbstractGroupImpl
addMember
in interface Group
addMember
in class AbstractGroupImpl
public boolean removeMember(Entity member)
AbstractGroupImpl
true
if the group was changed as a result of the call.removeMember
in interface Group
removeMember
in class AbstractGroupImpl