| 
 | Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
brooklyn.entity.basic.DynamicGroupbrooklyn.entity.rebind.Rebindable
brooklyn.entity.Entity
brooklyn.entity.Group
brooklyn.entity.trait.Changeable
brooklyn.entity.basic.AbstractGroup
brooklyn.entity.trait.Identifiable
@ImplementedBy(DynamicGroupImpl.class) public interface DynamicGroup extends AbstractGroup
| Field Summary | |
|---|---|
| static ConfigKey | ENTITY_FILTER | 
| static AttributeSensor | RUNNING | 
| Fields inherited from interface Changeable | |
|---|---|
| GROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVED | 
| Method Summary | |
|---|---|
| void | addSubscription(Entity producer, Sensor sensor, Predicate filter)as addSubscription(Entity, Sensor) but with an additional filter | 
| void | addSubscription(Entity producer, Sensor sensor)indicates an entity and/or sensor this group should monitor; if either is null it means "all". | 
| void | rescanEntities()rescans _all_ entities to determine whether they match the filter | 
| void | setEntityFilter(Predicate filter)sets ENTITY_FILTER, overriding (and rescanning all) if already set | 
| void | setEntityFilter(groovy.lang.Closure filter) | 
| void | stop()Stops this group (but does not stop any of its members). | 
| 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 | 
|---|
@SetFromFlag("entityFilter")
public static final ConfigKey ENTITY_FILTER
        
public static final AttributeSensor RUNNING
| Method Detail | 
|---|
public void addSubscription(Entity producer, Sensor sensor, Predicate filter)
public void addSubscription(Entity producer, Sensor sensor)
public void rescanEntities()
public void setEntityFilter(Predicate filter)
public void setEntityFilter(groovy.lang.Closure filter)
public void stop()
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.