Brooklyn

brooklyn.entity.webapp
[Java] Class ControlledDynamicWebAppClusterImpl

java.lang.Object
  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
EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, managementSupport, tempWorkings
 
Constructor Summary
ControlledDynamicWebAppClusterImpl()

ControlledDynamicWebAppClusterImpl(java.util.Map flags)

ControlledDynamicWebAppClusterImpl(Entity parent)

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

 
Method Summary
DynamicWebAppCluster getCluster()

LoadBalancer getController()

java.lang.Integer getCurrentSize()

ConfigurableEntityFactory getFactory()

void init()

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

@return the current size of the group.

void restart()

void start(java.util.Collection locations)

void 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
 

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


getCurrentSize

public java.lang.Integer getCurrentSize()


getFactory

public ConfigurableEntityFactory getFactory()


init

@Override
public void init()


resize

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


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.