Brooklyn

brooklyn.entity.nosql.couchdb
[Java] Interface CouchDBCluster

brooklyn.entity.rebind.Rebindable
  brooklyn.entity.group.Cluster
      brooklyn.entity.group.DynamicCluster
          brooklyn.entity.trait.Resizable
              brooklyn.entity.Group
                  brooklyn.entity.basic.AbstractGroup
                      brooklyn.entity.Entity
                          brooklyn.entity.trait.Startable
                              brooklyn.entity.trait.Changeable
                                  brooklyn.entity.nosql.couchdb.CouchDBCluster
All Superinterfaces:
Rebindable, Cluster, DynamicCluster, Resizable, Group, AbstractGroup, Entity, Startable, Changeable

@ImplementedBy(CouchDBClusterImpl.class)
public interface CouchDBCluster
extends DynamicCluster

A cluster of CouchDBNodes based on DynamicCluster which can be resized by a policy if required. TODO add sensors with aggregated CouchDB statistics from cluster


Field Summary
BasicAttributeSensorAndConfigKey CLUSTER_NAME

AttributeSensor HOSTNAME

AttributeSensor HTTP_PORT

 
Fields inherited from interface DynamicCluster
ENTITY_QUARANTINED, FACTORY, MEMBER_SPEC, QUARANTINE_FAILED_ENTITIES, QUARANTINE_GROUP, REMOVAL_STRATEGY, REPLACE_MEMBER, SERVICE_STATE
 
Fields inherited from interface Cluster
INITIAL_SIZE
 
Fields inherited from interface Changeable
GROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVED
 
Method Summary
java.lang.String getClusterName()

The name of the cluster.

 
Methods inherited from interface DynamicCluster
replaceMember, setFactory, setMemberSpec, setRemovalStrategy, setRemovalStrategy
 
Methods inherited from interface AbstractGroup
setMembers, setMembers
 
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 Rebindable
getRebindSupport
 

Field Detail

CLUSTER_NAME

@SetFromFlag("clusterName")
public BasicAttributeSensorAndConfigKey CLUSTER_NAME


HOSTNAME

public AttributeSensor HOSTNAME


HTTP_PORT

public AttributeSensor HTTP_PORT


 
Method Detail

getClusterName

public java.lang.String getClusterName()
The name of the cluster.


 

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