Brooklyn

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

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

@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 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

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.