Brooklyn

brooklyn.extras.whirr.core
[Java] Interface WhirrCluster

brooklyn.extras.whirr.core.WhirrCluster
  brooklyn.entity.trait.Startable
      brooklyn.entity.rebind.Rebindable
          brooklyn.entity.Entity
              brooklyn.entity.trait.Identifiable
All Superinterfaces:
Startable, Rebindable, Entity, Identifiable

@ImplementedBy(WhirrClusterImpl.class)
public interface WhirrCluster
extends Entity, Startable

Generic entity that can be used to deploy clusters that are managed by Apache Whirr.


Field Summary
static BasicAttributeSensor CLUSTER_NAME

static BasicConfigKey RECIPE

 
Fields inherited from interface Startable
RESTART, SERVICE_UP, START, STOP
 
Method Summary
Cluster getCluster()

ClusterSpec getClusterSpec()

ClusterController getController()

void start(java.util.Collection locations)

Apache Whirr can only start and manage a cluster in a single location

 
Methods inherited from interface Startable
restart, start, stop
 
Methods inherited from interface Entity
addChild, addChild, addEnricher, addGroup, addPolicy, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removePolicy, setParent
 
Methods inherited from interface Identifiable
getId
 
Methods inherited from interface Rebindable
getRebindSupport
 

Field Detail

CLUSTER_NAME

public static final BasicAttributeSensor CLUSTER_NAME


RECIPE

@SetFromFlag("recipe")
public static final BasicConfigKey RECIPE


 
Method Detail

getCluster

@Beta
public Cluster getCluster()


getClusterSpec

@Beta
public ClusterSpec getClusterSpec()


getController

@Beta
@VisibleForTesting
public ClusterController getController()


start

@Override
public void start(java.util.Collection locations)
Apache Whirr can only start and manage a cluster in a single location
Parameters:
locations


 

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