|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyObjectSupport
brooklyn.entity.basic.AbstractEntity
brooklyn.extras.whirr.core.WhirrClusterImpl
class WhirrClusterImpl extends AbstractEntity
Generic entity that can be used to deploy clusters that are managed by Apache Whirr.
Field Summary | |
---|---|
protected ClusterController |
_controller
|
protected Cluster |
cluster
|
protected ClusterSpec |
clusterSpec
|
protected Location |
location
|
static Logger |
log
|
Fields inherited from class AbstractEntity | |
---|---|
LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, attributesInternal, configsInternal, managementSupport, tempWorkings |
Constructor Summary | |
WhirrClusterImpl(java.util.Map flags = [:], Entity parent = null)
General entity initialisation |
Method Summary | |
---|---|
protected void
|
customizeClusterSpecConfiguration(JcloudsLocation location, PropertiesConfiguration config)
|
Cluster
|
getCluster()
|
ClusterSpec
|
getClusterSpec()
|
ClusterController
|
getController()
|
void
|
restart()
|
void
|
start(java.util.Collection locations)
Apache Whirr can only start and manage a cluster in a single location |
void
|
startInLocation(LocalhostMachineProvisioningLocation location)
Start a cluster as specified in the recipe on localhost |
void
|
startInLocation(JcloudsLocation location)
Start a cluster as specified in the recipe in a given location |
void
|
startWithClusterSpec(ClusterSpec clusterSpec, PropertiesConfiguration config)
|
void
|
stop()
|
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 |
---|
protected ClusterController _controller
protected Cluster cluster
protected ClusterSpec clusterSpec
protected Location location
public static final Logger log
Constructor Detail |
---|
WhirrClusterImpl(java.util.Map flags = [:], Entity parent = null)
Method Detail |
---|
protected void customizeClusterSpecConfiguration(JcloudsLocation location, PropertiesConfiguration config)
@Override Cluster getCluster()
@Override ClusterSpec getClusterSpec()
ClusterController getController()
void restart()
void start(java.util.Collection locations)
void startInLocation(LocalhostMachineProvisioningLocation location)
location
- corresponding to localhost
void startInLocation(JcloudsLocation location)
location
- jclouds location spec
void startWithClusterSpec(ClusterSpec clusterSpec, PropertiesConfiguration config)
void stop()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.