brooklyn.policy.loadbalancing
[Java] Class ItemsInContainersGroupImpl
java.lang.Object
   brooklyn.entity.basic.AbstractEntity
brooklyn.entity.basic.AbstractEntity
       brooklyn.entity.basic.AbstractGroupImpl
brooklyn.entity.basic.AbstractGroupImpl
           brooklyn.entity.basic.DynamicGroupImpl
brooklyn.entity.basic.DynamicGroupImpl
               brooklyn.policy.loadbalancing.ItemsInContainersGroupImpl
brooklyn.policy.loadbalancing.ItemsInContainersGroupImpl
- All Implemented Interfaces: 
- ItemsInContainersGroup
public class ItemsInContainersGroupImpl
extends DynamicGroupImpl
 A group of items that are contained within a given (dynamically changing) set of containers.
 
 The setContainers(brooklyn.entity.Group) sets the group of containers. The membership of that group
 is dynamically tracked.
 
 When containers are added/removed, or when an items is added/removed, or when an Moveable item 
 is moved then the membership of this group of items is automatically updated accordingly.
 
 For example: in Monterey, this could be used to track the actors that are within a given cluster of venues.
 
                     
                 
                | Fields inherited from class AbstractEntity | 
|---|
                | EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, managementSupport, tempWorkings | 
                
                 
    
     
    
     
                | Methods inherited from class DynamicGroupImpl | 
|---|
                | acceptsEntity, addSubscription, addSubscription, init, onEntityAdded, onEntityChanged, onEntityRemoved, onManagementBecomingMaster, onManagementNoLongerMaster, rescanEntities, setEntityFilter, setEntityFilter, stop | 
                
                 
                 
                | Methods inherited from class AbstractEntity | 
|---|
                | addChild, addChild, addEnricher, addGroup, addLocations, addPolicy, clearLocations, clearParent, configure, configure, configure, configure, configure, configure, destroy, emit, emitInternal, equals, finalize, firstLocation, getAllAttributes, getAllConfig, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityManager, getEntityType, getEntityTypeName, getExecutionContext, getGroups, getIconUrl, getId, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getSubscriptionTracker, hashCode, init, invalidateReferences, invoke, invoke, invoke, isLegacyConstruction, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeLocations, removePolicy, setApplication, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, toStringHelper, unsubscribe, unsubscribe | 
                
                 
    
    
        
        ItemsInContainersGroupImpl
        public ItemsInContainersGroupImpl()
        
        - 
        
        
    
     
    
    
        
        acceptsEntity
        protected boolean acceptsEntity(Entity e) {
protected boolean acceptsEntity(Entity e)
        
        - 
        
        
    
        
        getItemFilter
        protected Predicate getItemFilter()
        
        - 
        
        
    
        
        init
        public void init() {
public void init()
        
        - 
        
        
    
        
        onEntityAdded
        protected void onEntityAdded(Entity item)
        
        - 
        
        
    
        
        onEntityRemoved
        protected void onEntityRemoved(Entity item)
        
        - 
        
        
    
        
        setContainers
        public void setContainers(Group containerGroup) {
public void setContainers(Group containerGroup)
        
        - 
        
        
    
     
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.