Brooklyn

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

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

@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
AVAILABILITY_ZONE_NAMES, CUSTOM_CHILD_FLAGS, ENABLE_AVAILABILITY_ZONES, ENTITY_QUARANTINED, FACTORY, FAILED_SUB_LOCATIONS, INITIAL_QUORUM_SIZE, MEMBER_SPEC, NUM_AVAILABILITY_ZONES, QUARANTINE_FAILED_ENTITIES, QUARANTINE_GROUP, REMOVAL_STRATEGY, REPLACE_MEMBER, SERVICE_STATE, SUB_LOCATIONS, ZONE_FAILURE_DETECTOR, ZONE_PLACEMENT_STRATEGY
 
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, setZoneFailureDetector, setZonePlacementStrategy
 
Methods inherited from interface AbstractGroup
setMembers, setMembers
 
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

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