|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.entity.rebind.Rebindable brooklyn.entity.webapp.JavaWebAppService brooklyn.entity.trait.Resizable brooklyn.entity.webapp.WebAppService brooklyn.entity.java.UsesJava brooklyn.entity.webapp.ElasticJavaWebAppService brooklyn.entity.webapp.ControlledDynamicWebAppCluster brooklyn.entity.Entity brooklyn.entity.webapp.WebAppServiceConstants brooklyn.entity.trait.Startable
@ImplementedBy(ControlledDynamicWebAppClusterImpl.class) public interface ControlledDynamicWebAppCluster extends ElasticJavaWebAppService, Entity, Resizable, Startable
This entity contains the sub-groups and entities that go in to a single location (e.g. datacenter) to provide web-app cluster functionality, viz load-balancer (controller) and webapp software processes.
You can customise the web server by customising the factory (by reference in calling code) or supplying your own factory (as a config flag).
The contents of this group entity are:
Nested Class Summary | |
---|---|
static class |
ControlledDynamicWebAppCluster.Spec
|
Field Summary | |
---|---|
static AttributeSensor |
CLUSTER
|
static BasicAttributeSensorAndConfigKey |
CONTROLLER
|
static BasicAttributeSensorAndConfigKey |
CONTROLLER_SPEC
|
static BasicAttributeSensorAndConfigKey |
FACTORY
factory (or closure) to create the web server, given flags |
static AttributeSensor |
HOSTNAME
|
static ConfigKey |
INITIAL_SIZE
|
static BasicAttributeSensorAndConfigKey |
MEMBER_SPEC
Spec for web server entiites to be created |
Fields inherited from interface Resizable | |
---|---|
RESIZE |
Fields inherited from interface Startable | |
---|---|
RESTART, SERVICE_UP, START, STOP |
Method Summary | |
---|---|
DynamicWebAppCluster
|
getCluster()
|
AbstractController
|
getController()
|
ConfigurableEntityFactory
|
getFactory()
|
Methods inherited from interface Resizable | |
---|---|
getCurrentSize, resize |
Methods inherited from interface Entity | |
---|---|
addChild, addChild, addEnricher, addGroup, addOwnedChild, addPolicy, clearOwner, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getDisplayName, getEnrichers, getEntityType, getGroups, getId, getLocations, getOwnedChildren, getOwner, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removeOwnedChild, removePolicy, setOwner, setParent |
Methods inherited from interface Startable | |
---|---|
restart, start, stop |
Field Detail |
---|
public static AttributeSensor CLUSTER
@SetFromFlag("controller") public static BasicAttributeSensorAndConfigKey CONTROLLER
@SetFromFlag("controllerSpec") public static BasicAttributeSensorAndConfigKey CONTROLLER_SPEC
@SetFromFlag("factory") public static BasicAttributeSensorAndConfigKey FACTORY
public static final AttributeSensor HOSTNAME
@SetFromFlag("initialSize") public static ConfigKey INITIAL_SIZE
@SetFromFlag("memberSpec") public static BasicAttributeSensorAndConfigKey MEMBER_SPEC
Method Detail |
---|
public DynamicWebAppCluster getCluster()
public AbstractController getController()
public ConfigurableEntityFactory getFactory()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.