Brooklyn

brooklyn.entity.webapp
[Groovy] Class DynamicWebAppCluster

java.lang.Object
  groovy.lang.GroovyObjectSupport
      brooklyn.entity.basic.AbstractEntity
          brooklyn.entity.basic.AbstractGroup
              brooklyn.entity.group.DynamicCluster
                  brooklyn.entity.webapp.DynamicWebAppCluster
All Implemented Interfaces:
WebAppService

class DynamicWebAppCluster
extends DynamicCluster

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


Field Summary
static BasicAttributeSensor AVERAGE_ERROR_COUNT

static BasicAttributeSensor AVERAGE_PROCESSING_TIME

static BasicAttributeSensor AVERAGE_REQUESTS_PER_SECOND

static BasicAttributeSensor AVERAGE_REQUEST_COUNT

static BasicAttributeSensor TOTAL_ERROR_COUNT

static BasicAttributeSensor TOTAL_PROCESSING_TIME

static BasicAttributeSensor TOTAL_REQUESTS_PER_SECOND

static BasicAttributeSensor TOTAL_REQUEST_COUNT

 
Fields inherited from class DynamicCluster
SERVICE_STATE
 
Fields inherited from class AbstractEntity
LOG, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, application, attributesInternal, configsInternal, execution, managementContext, managementData, subscription, tempWorkings
 
Constructor Summary
DynamicWebAppCluster(java.util.Map properties = [:], Entity owner = null)

Instantiate a new DynamicWebAppCluster.

 
Method Summary
void addMember(Entity member)

boolean removeMember(Entity member)

 
Methods inherited from class DynamicCluster
addNode, calculateServiceUp, getCustomChildFlags, getFactory, removeNode, removeNode, removeOwnedChild, resize, restart, setFactory, setRemovalStrategy, setRemovalStrategy, start, stop, unwrapException, waitForTasksOnEntityStart
 
Methods inherited from class AbstractGroup
addMember, getCurrentSize, getMembers, hasMember, removeMember, setMembers, setMembers
 
Methods inherited from class AbstractEntity
addEnricher, addGroup, addOwnedChild, addPolicy, assertNotYetOwned, clearOwner, configure, configure, destroy, emit, emitInternal, firstLocation, getAllConfig, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getConfig, getConfig, getConfig, getConfig, getConfigMap, getEffector, getEnrichers, getEntityType, getExecutionContext, getGroups, getLocations, getManagementContext, getMutableEntityType, getOwnedChildren, getOwner, getPolicies, getSubscriptionContext, getSubscriptionTracker, hasEverBeenManaged, invalidate, invoke, invoke, invokeFromJava, invokeMethod, onManagementBecomingMaster, onManagementNoLongerMaster, refreshInheritedConfig, refreshInheritedConfigOfChildren, removeAllEnrichers, removeAllPolicies, removeAttribute, removeEnricher, removeOwnedChild, removePolicy, setApplication, setAttribute, setAttribute, setBeingManaged, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setOwner, subscribe, subscribeToChildren, subscribeToMembers, toString, toStringFieldsToInclude, 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()
 

Field Detail

AVERAGE_ERROR_COUNT

public static final BasicAttributeSensor AVERAGE_ERROR_COUNT


AVERAGE_PROCESSING_TIME

public static final BasicAttributeSensor AVERAGE_PROCESSING_TIME


AVERAGE_REQUESTS_PER_SECOND

public static final BasicAttributeSensor AVERAGE_REQUESTS_PER_SECOND


AVERAGE_REQUEST_COUNT

public static final BasicAttributeSensor AVERAGE_REQUEST_COUNT


TOTAL_ERROR_COUNT

public static final BasicAttributeSensor TOTAL_ERROR_COUNT


TOTAL_PROCESSING_TIME

public static final BasicAttributeSensor TOTAL_PROCESSING_TIME


TOTAL_REQUESTS_PER_SECOND

public static final BasicAttributeSensor TOTAL_REQUESTS_PER_SECOND


TOTAL_REQUEST_COUNT

public static final BasicAttributeSensor TOTAL_REQUEST_COUNT


 
Constructor Detail

DynamicWebAppCluster

DynamicWebAppCluster(java.util.Map properties = [:], Entity owner = null)
Instantiate a new DynamicWebAppCluster. Parameters as per DynamicCluster#DynamicCluster()#DynamicCluster()


 
Method Detail

addMember

void addMember(Entity member)


removeMember

@Override
boolean removeMember(Entity member)


 

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