public interface DynamicGroup extends AbstractGroup
Entity.SensorSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupport| Modifier and Type | Field and Description | 
|---|---|
static ConfigKey<com.google.common.base.Predicate<? super Entity>> | 
ENTITY_FILTER  | 
static MethodEffector<java.lang.Void> | 
RESCAN_EFFECTOR  | 
static AttributeSensor<java.lang.Boolean> | 
RUNNING  | 
FIRST, FIRST_MEMBER, GROUP_MEMBERS, MEMBER_DELEGATE_CHILDREN, MEMBER_DELEGATE_NAME_FORMAT, RUNNING_QUORUM_CHECK, UP_QUORUM_CHECKGROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVED| Modifier and Type | Method and Description | 
|---|---|
<T> void | 
addSubscription(Entity producer,
               Sensor<T> sensor)
Indicates an entity and/or sensor this group should monitor 
 | 
<T> void | 
addSubscription(Entity producer,
               Sensor<T> sensor,
               com.google.common.base.Predicate<? super SensorEvent<? super T>> filter)
As  
addSubscription(Entity, Sensor) but with an additional filter. | 
com.google.common.base.Predicate<? super Entity> | 
entityFilter()  | 
void | 
rescanEntities()
Rescans all entities to determine whether they match the filter. 
 | 
void | 
setEntityFilter(groovy.lang.Closure<java.lang.Boolean> filter)
Deprecated. 
 
since 0.7.0; use  
setEntityFilter(Predicate) | 
void | 
setEntityFilter(com.google.common.base.Predicate<? super Entity> filter)
Sets  
ENTITY_FILTER, overriding (and rescanning all) if already set. | 
void | 
stop()
Deprecated. 
 
since 0.7; no longer supported (was only used in tests, and by classes that
             also implemented  
Startable.stop()!) | 
setMembers, setMembersaddChild, addChild, addMember, addMemberChild, addMemberChild, getCurrentSize, getMembers, hasMember, removeMemberaddEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, invoke, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setParentgetCatalogItemId, tagsconfig, setConfigstatic final ConfigKey<com.google.common.base.Predicate<? super Entity>> ENTITY_FILTER
static final AttributeSensor<java.lang.Boolean> RUNNING
static final MethodEffector<java.lang.Void> RESCAN_EFFECTOR
@Deprecated void stop()
Startable.stop()!)Does not stop any of its members. De-activates the filter and unsubscribes to entity-updates, so the membership of the group will not change.
void rescanEntities()
void setEntityFilter(com.google.common.base.Predicate<? super Entity> filter)
ENTITY_FILTER, overriding (and rescanning all) if already set.@Deprecated void setEntityFilter(groovy.lang.Closure<java.lang.Boolean> filter)
setEntityFilter(Predicate)<T> void addSubscription(Entity producer, Sensor<T> sensor, com.google.common.base.Predicate<? super SensorEvent<? super T>> filter)
addSubscription(Entity, Sensor) but with an additional filter.<T> void addSubscription(Entity producer, Sensor<T> sensor)
 Setting either to null indicates everything should be monitored. Note that subscriptions
 do not restrict what can be added, they merely ensure prompt membership checking (via
 ENTITY_FILTER) for those entities so subscribed.
com.google.common.base.Predicate<? super Entity> entityFilter()