|
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.WhirrCluster
class WhirrCluster extends AbstractEntity
Generic entity that can be used to deploy clusters that are managed by Apache Whirr.
Field Summary | |
---|---|
static BasicAttributeSensor |
CLUSTER_NAME
|
static BasicConfigKey |
RECIPE
|
protected ClusterController |
_controller
|
protected Cluster |
cluster
|
protected ClusterSpec |
clusterSpec
|
protected Location |
location
|
static Logger |
log
|
Fields inherited from class AbstractEntity | |
---|---|
LOG, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, application, attributesInternal, configsInternal, execution, managementContext, managementData, subscription, tempWorkings |
Constructor Summary | |
WhirrCluster(java.util.Map flags = [:], Entity owner = null)
General entity initialisation |
Method Summary | |
---|---|
protected void
|
customizeClusterSpecConfiguration(JcloudsLocation location, PropertiesConfiguration config)
|
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 |
---|
public static final BasicAttributeSensor CLUSTER_NAME
@SetFromFlag("recipe") public static final BasicConfigKey RECIPE
protected ClusterController _controller
protected Cluster cluster
protected ClusterSpec clusterSpec
protected Location location
public static final Logger log
Constructor Detail |
---|
WhirrCluster(java.util.Map flags = [:], Entity owner = null)
Method Detail |
---|
protected void customizeClusterSpecConfiguration(JcloudsLocation location, PropertiesConfiguration config)
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.