Brooklyn

brooklyn.entity.webapp
[Java] Class ControlledDynamicWebAppClusterImpl

java.lang.Object
  groovy.lang.GroovyObjectSupport
      brooklyn.entity.basic.AbstractEntity
          brooklyn.entity.webapp.ControlledDynamicWebAppClusterImpl
All Implemented Interfaces:
ControlledDynamicWebAppCluster

public class ControlledDynamicWebAppClusterImpl
extends AbstractEntity

Field Summary
static Logger log

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

ControlledDynamicWebAppClusterImpl(java.util.Map flags)

ControlledDynamicWebAppClusterImpl(Entity parent)

ControlledDynamicWebAppClusterImpl(java.util.Map flags, Entity parent)

 
Method Summary
DynamicWebAppCluster getCluster()

AbstractController getController()

java.lang.Integer getCurrentSize()

@return the current size of the group.

ConfigurableEntityFactory getFactory()

void init()

java.lang.Integer resize(java.lang.Integer desiredSize)

void restart()

void start(java.util.Collection locations)

void stop()

 
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()
 

Field Detail

log

public static final Logger log


 
Constructor Detail

ControlledDynamicWebAppClusterImpl

public ControlledDynamicWebAppClusterImpl()


ControlledDynamicWebAppClusterImpl

public ControlledDynamicWebAppClusterImpl(java.util.Map flags)


ControlledDynamicWebAppClusterImpl

public ControlledDynamicWebAppClusterImpl(Entity parent)


ControlledDynamicWebAppClusterImpl

public ControlledDynamicWebAppClusterImpl(java.util.Map flags, Entity parent)


 
Method Detail

getCluster

public DynamicWebAppCluster getCluster()


getController

public AbstractController getController()


getCurrentSize

public java.lang.Integer getCurrentSize()
Returns:
the current size of the group.


getFactory

public ConfigurableEntityFactory getFactory()


init

@Override
public void init()


resize

public java.lang.Integer resize(java.lang.Integer desiredSize)


restart

public void restart()


start

public void start(java.util.Collection locations)


stop

public void stop()


 

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