Brooklyn

brooklyn.entity.webapp
[Java] Class DynamicWebAppClusterImpl

java.lang.Object
  groovy.lang.GroovyObjectSupport
      brooklyn.entity.basic.AbstractEntity
          brooklyn.entity.basic.AbstractGroupImpl
              brooklyn.entity.group.DynamicClusterImpl
                  brooklyn.entity.webapp.DynamicWebAppClusterImpl
All Implemented Interfaces:
DynamicWebAppCluster

public class DynamicWebAppClusterImpl
extends DynamicClusterImpl

DynamicWebAppClusters provide cluster-wide aggregates of entity attributes. Currently totals and averages:


Field Summary
 
Fields inherited from class AbstractEntity
LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, attributesInternal, configsInternal, managementSupport, tempWorkings
 
Constructor Summary
DynamicWebAppClusterImpl()

Instantiate a new DynamicWebAppCluster.

DynamicWebAppClusterImpl(java.util.Map properties)

DynamicWebAppClusterImpl(Entity parent)

DynamicWebAppClusterImpl(java.util.Map properties, Entity parent)

 
Method Summary
boolean addMember(Entity member)

protected boolean calculateServiceUp()

void onManagementBecomingMaster()

boolean removeMember(Entity member)

 
Methods inherited from class DynamicClusterImpl
addNode, calculateServiceUp, createNode, discardNode, getCustomChildFlags, getFactory, getMemberSpec, getRemovalStrategy, pickAndRemoveMember, removeChild, replaceMember, resize, restart, setFactory, setMemberSpec, setRemovalStrategy, setRemovalStrategy, start, stop, stopAndRemoveNode, unwrapException, waitForTasksOnEntityStart
 
Methods inherited from class AbstractGroupImpl
addMember, getCurrentSize, getMembers, hasMember, removeMember, setMembers, setMembers
 
Methods inherited from class AbstractEntity
addChild, addChild, addEnricher, addGroup, addLocations, addOwnedChild, addPolicy, assertNotYetOwned, clearOwner, clearParent, configure, configure, configure, configure, configure, createManagementSupport, destroy, emit, emitInternal, equals, finalize, firstLocation, getAllAttributes, getAllConfig, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getChildrenReference, getConfig, getConfig, getConfig, getConfig, getConfigMap, getDisplayName, getEffector, getEnrichers, getEntityManager, getEntityType, getEntityTypeName, getExecutionContext, getGroups, getId, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getOwnedChildren, getOwnedChildrenReference, getOwner, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getSubscriptionTracker, hasEverBeenManaged, hashCode, init, invalidateReferences, invoke, invoke, invokeFromJava, invokeMethod, isLegacyConstruction, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, refreshInheritedConfig, refreshInheritedConfigOfChildren, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeLocations, removeOwnedChild, removePolicy, setApplication, setAttribute, setAttribute, setAttributeWithoutPublishing, setBeingManaged, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setDisplayName, setManagementContext, setOwner, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toString, toStringFieldsToInclude, toStringHelper, unsubscribe, unsubscribe
 
Methods inherited from class groovy.lang.GroovyObjectSupport
groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll()
 

Constructor Detail

DynamicWebAppClusterImpl

public DynamicWebAppClusterImpl()
Instantiate a new DynamicWebAppCluster. Parameters as per DynamicCluster#DynamicCluster()#DynamicCluster()


DynamicWebAppClusterImpl

public DynamicWebAppClusterImpl(java.util.Map properties)


DynamicWebAppClusterImpl

public DynamicWebAppClusterImpl(Entity parent)


DynamicWebAppClusterImpl

public DynamicWebAppClusterImpl(java.util.Map properties, Entity parent)


 
Method Detail

addMember

public boolean addMember(Entity member)


calculateServiceUp

@Override
protected boolean calculateServiceUp()


onManagementBecomingMaster

@Override
public void onManagementBecomingMaster()


removeMember

@Override
public boolean removeMember(Entity member)


 

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