public class CouchbaseClusterImpl extends DynamicClusterImpl implements CouchbaseCluster
| Modifier and Type | Class and Description | 
|---|---|
| static class  | CouchbaseClusterImpl.MemberTrackingPolicy | 
AbstractEntity.BasicConfigurationSupport, AbstractEntity.BasicEnricherSupport, AbstractEntity.BasicGroupSupport, AbstractEntity.BasicPolicySupport, AbstractEntity.BasicSensorSupport, AbstractEntity.BasicSubscriptionSupportDynamicCluster.NodePlacementStrategy, DynamicCluster.ZoneFailureDetectorEntity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportStartable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBodyResizable.InsufficientCapacityExceptionEntityInternal.EnricherSupportInternal, EntityInternal.FeedSupport, EntityInternal.GroupSupportInternal, EntityInternal.PolicySupportInternal, EntityInternal.SensorSupportInternalBrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternalCHILD_ADDED, CHILD_REMOVED, CONFIG_KEY_ADDED, CONFIG_KEY_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, GROUP_ADDED, GROUP_REMOVED, LOCATION_ADDED, LOCATION_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVEDACTUAL_CLUSTER_SIZE, BUCKET_CREATION_IN_PROGRESS, CLUSTER_NAME, CMD_GET_PER_NODE, COUCH_DOCS_ACTUAL_DISK_SIZE_PER_NODE, COUCH_DOCS_DATA_SIZE_PER_NODE, COUCH_VIEWS_ACTUAL_DISK_SIZE_PER_NODE, COUCH_VIEWS_DATA_SIZE_PER_NODE, COUCHBASE_ADMIN_PASSWORD, COUCHBASE_ADMIN_USERNAME, COUCHBASE_CLUSTER_BUCKETS, COUCHBASE_CLUSTER_CONNECTION_URL, COUCHBASE_CLUSTER_UP_NODE_ADDRESSES, COUCHBASE_CLUSTER_UP_NODES, COUCHBASE_PRIMARY_NODE, CREATE_BUCKETS, CURR_ITEMS_PER_NODE, CURR_ITEMS_TOT_PER_NODE, DELAY_BEFORE_ADVERTISING_CLUSTER, EP_BG_FETCHED_PER_NODE, GET_HITS_PER_NODE, INITIAL_QUORUM_SIZE, IS_CLUSTER_INITIALIZED, MEM_USED_PER_NODE, NODES_STARTED_STABILIZATION_DELAY, OPS_PER_NODE, REPLICATION, VB_REPLICA_CURR_ITEMS_PER_NODEAVAILABILITY_ZONE_NAMES, CLUSTER, CLUSTER_MEMBER, CLUSTER_MEMBER_ID, CLUSTER_ONE_AND_ALL_MEMBERS_UP, CUSTOM_CHILD_FLAGS, ENABLE_AVAILABILITY_ZONES, ENTITY_QUARANTINED, FACTORY, FAILED_SUB_LOCATIONS, FIRST_MEMBER_SPEC, MEMBER_SPEC, NUM_AVAILABILITY_ZONES, QUARANTINE_FAILED_ENTITIES, QUARANTINE_FILTER, QUARANTINE_GROUP, REMOVAL_STRATEGY, RESIZE_BY_DELTA, RESTART_MODE, SERVICE_STATE_ACTUAL, SUB_LOCATIONS, ZONE_FAILURE_DETECTOR, ZONE_PLACEMENT_STRATEGYFIRST, FIRST_MEMBER, GROUP_MEMBERS, MEMBER_DELEGATE_CHILDREN, MEMBER_DELEGATE_NAME_FORMAT, RUNNING_QUORUM_CHECK, UP_QUORUM_CHECKGROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVEDINITIAL_SIZERESTART, SERVICE_UP, START, STOPREPLACE_MEMBER| Constructor and Description | 
|---|
| CouchbaseClusterImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | createBucket(Entity primaryNode,
            java.lang.String bucketName,
            java.lang.String bucketType,
            java.lang.Integer bucketPort,
            java.lang.Integer bucketRamSize,
            java.lang.Integer bucketReplica) | 
| void | createBuckets() | 
| static java.lang.String | getClusterName(Entity node)finds the cluster name specified for a node or a cluster, 
 using  CouchbaseCluster.CLUSTER_NAMEor falling back to the cluster (or node) ID. | 
| static Entity | getClusterOrNode(Entity node)returns Couchbase cluster in ancestry, defaulting to the given node if none | 
| int | getQuorumSize() | 
| void | init()Default entity initialization, just calls  AbstractEntity.initEnrichers(). | 
| boolean | isClusterInitialized() | 
| boolean | isMemberInCluster(Entity e) | 
| void | stop()Stop the entity. | 
addNode, removeChild, replaceMember, resize, resizeByDelta, restart, setFactory, setMemberSpec, setRemovalStrategy, setZoneFailureDetector, setZonePlacementStrategy, startaddMember, addMemberChild, addMemberChild, addMemberInternal, getCurrentSize, getMembers, hasMember, removeMember, setManagementContext, setMembers, setMembersaddChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, clearLocations, clearParent, config, configure, configure, configure, configure, configure, configure, destroy, emit, emitInternal, enrichers, equals, feeds, firstLocation, getAllAttributes, getAllConfig, getAllConfigBag, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityType, getExecutionContext, getFeedSupport, getGroups, getIconUrl, getLocalConfigBag, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, groups, hashCode, invalidateReferences, invoke, invoke, invoke, modifyAttribute, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, policies, refreshInheritedConfig, relations, removeAllEnrichers, removeAllPolicies, removeAttribute, removeEnricher, removeGroup, removeLocations, removePolicy, requestPersist, resetProxy, sensors, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, subscriptions, toMetadataRecord, toString, unsubscribe, unsubscribegetCatalogItemId, getId, rebind, setCatalogItemId, tagsaddNode, resizeByDelta, setFactory, setMemberSpec, setRemovalStrategy, setZoneFailureDetector, setZonePlacementStrategysetMembers, setMembersaddChild, addChild, addMember, addMemberChild, addMemberChild, getCurrentSize, getMembers, hasMember, removeMemberaddEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, groups, invoke, policies, relations, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setDisplayName, setParentgetCatalogItemId, subscriptions, tagsconfig, getConfig, setConfiggetCurrentSize, resizereplaceMembersetCatalogItemIdpublic void init()
AbstractEntityAbstractEntity.initEnrichers().init in class DynamicClusterImplpublic void stop()
Startable
 Some entities may define custom Effector implementations which support
 a richer set of parameters.  See the entity-specific Startable.STOP effector declaration.
stop in interface Startablestop in class DynamicClusterImplpublic int getQuorumSize()
getQuorumSize in interface CouchbaseClusterpublic static java.lang.String getClusterName(Entity node)
CouchbaseCluster.CLUSTER_NAME or falling back to the cluster (or node) ID.@Nonnull public static Entity getClusterOrNode(Entity node)
public boolean isClusterInitialized()
public boolean isMemberInCluster(Entity e)
public void createBuckets()
public void createBucket(Entity primaryNode, java.lang.String bucketName, java.lang.String bucketType, java.lang.Integer bucketPort, java.lang.Integer bucketRamSize, java.lang.Integer bucketReplica)