Brooklyn

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

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

@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 Resizable
RESIZE
 
Fields inherited from interface Startable
RESTART, SERVICE_UP, START, STOP
 
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 Resizable
getCurrentSize, resize
 
Methods inherited from interface Startable
restart, start, stop
 

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.