Brooklyn

brooklyn.entity.nosql.couchdb
[Java] Class CouchDBClusterImpl

java.lang.Object
  brooklyn.entity.basic.AbstractEntity
      brooklyn.entity.basic.AbstractGroupImpl
          brooklyn.entity.group.DynamicClusterImpl
              brooklyn.entity.nosql.couchdb.CouchDBClusterImpl
All Implemented Interfaces:
CouchDBCluster

public class CouchDBClusterImpl
extends DynamicClusterImpl

Implementation of CouchDBCluster.


Field Summary
 
Fields inherited from class DynamicClusterImpl
mutex
 
Fields inherited from class AbstractEntity
EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, managementSupport, tempWorkings
 
Constructor Summary
CouchDBClusterImpl()

 
Method Summary
protected boolean calculateServiceUp()

java.lang.String getClusterName()

protected EntitySpec getMemberSpec()

Sets the default MEMBER_SPEC to describe the CouchDB nodes.

void start(java.util.Collection locations)

 
Methods inherited from class DynamicClusterImpl
addNode, addNode, calculateServiceUp, cleanupFailedNodes, createNode, createNode, discardNode, findSubLocations, getCustomChildFlags, getFactory, getInitialQuorumSize, getMemberSpec, getMembersByLocation, getNonFailedSubLocations, getQuarantineGroup, getRemovalStrategy, getZoneFailureDetector, getZonePlacementStrategy, grow, growByOne, init, isAvailabilityZoneEnabled, isQuarantineEnabled, pickAndRemoveMember, pickAndRemoveMembers, quarantineFailedNodes, removeChild, replaceMember, resize, restart, setFactory, setMemberSpec, setRemovalStrategy, setRemovalStrategy, setZoneFailureDetector, setZonePlacementStrategy, shrink, start, stop, stopAndRemoveNode, waitForTasksOnEntityStart
 
Methods inherited from class AbstractGroupImpl
addMember, getCurrentSize, getMembers, hasMember, init, removeMember, setManagementContext, setMembers, setMembers
 
Methods inherited from class AbstractEntity
addChild, addChild, addEnricher, addGroup, addLocations, addPolicy, clearLocations, clearParent, configure, configure, configure, configure, configure, configure, destroy, emit, emitInternal, equals, finalize, firstLocation, getAllAttributes, getAllConfig, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityManager, getEntityType, getEntityTypeName, getExecutionContext, getGroups, getIconUrl, getId, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getSubscriptionTracker, hashCode, init, invalidateReferences, invoke, invoke, invoke, isLegacyConstruction, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeLocations, removePolicy, setApplication, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, toStringHelper, unsubscribe, unsubscribe
 

Constructor Detail

CouchDBClusterImpl

public CouchDBClusterImpl()


 
Method Detail

calculateServiceUp

@Override
protected boolean calculateServiceUp()


getClusterName

@Override
public java.lang.String getClusterName()


getMemberSpec

@Override
protected EntitySpec getMemberSpec()
Sets the default MEMBER_SPEC to describe the CouchDB nodes.


start

@Override
public void start(java.util.Collection locations)


 

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