public interface CouchbaseCluster extends DynamicCluster
DynamicCluster.NodePlacementStrategy, DynamicCluster.ZoneFailureDetector
Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Startable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody
Resizable.InsufficientCapacityException
Modifier and Type | Field and Description |
---|---|
static AttributeSensor<java.lang.Integer> |
ACTUAL_CLUSTER_SIZE |
static AttributeSensor<java.lang.Boolean> |
BUCKET_CREATION_IN_PROGRESS |
static ConfigKey<java.lang.String> |
CLUSTER_NAME |
static AttributeSensor<java.lang.Double> |
CMD_GET_PER_NODE |
static AttributeSensor<java.lang.Long> |
COUCH_DOCS_ACTUAL_DISK_SIZE_PER_NODE |
static AttributeSensor<java.lang.Long> |
COUCH_DOCS_DATA_SIZE_PER_NODE |
static AttributeSensor<java.lang.Long> |
COUCH_VIEWS_ACTUAL_DISK_SIZE_PER_NODE |
static AttributeSensor<java.lang.Long> |
COUCH_VIEWS_DATA_SIZE_PER_NODE |
static ConfigKey<java.lang.String> |
COUCHBASE_ADMIN_PASSWORD |
static ConfigKey<java.lang.String> |
COUCHBASE_ADMIN_USERNAME |
static AttributeSensor<java.util.List<java.lang.String>> |
COUCHBASE_CLUSTER_BUCKETS |
static AttributeSensor<java.lang.String> |
COUCHBASE_CLUSTER_CONNECTION_URL |
static AttributeSensor<java.util.List<java.lang.String>> |
COUCHBASE_CLUSTER_UP_NODE_ADDRESSES |
static AttributeSensor<java.util.Set<Entity>> |
COUCHBASE_CLUSTER_UP_NODES |
static AttributeSensor<Entity> |
COUCHBASE_PRIMARY_NODE |
static ConfigKey<java.util.List<java.util.Map<java.lang.String,java.lang.Object>>> |
CREATE_BUCKETS
createBuckets is a list of all the buckets to be created on the couchbase cluster
the buckets will be created on the primary node of the cluster
each map entry for a bucket should contain the following parameters:
- <"bucket",(String) name of the bucket (default: default)>
- <"bucket-type",(String) name of bucket type (default: couchbase)>
- <"bucket-port",(Integer) the bucket port to connect to (default: 11222)>
- <"bucket-ramsize",(Integer) ram size allowed for bucket (default: 200)>
- <"bucket-replica",(Integer) number of replicas for the bucket (default: 1)>
|
static AttributeSensor<java.lang.Double> |
CURR_ITEMS_PER_NODE |
static AttributeSensor<java.lang.Double> |
CURR_ITEMS_TOT_PER_NODE |
static ConfigKey<Duration> |
DELAY_BEFORE_ADVERTISING_CLUSTER |
static AttributeSensor<java.lang.Double> |
EP_BG_FETCHED_PER_NODE |
static AttributeSensor<java.lang.Double> |
GET_HITS_PER_NODE |
static ConfigKey<java.lang.Integer> |
INITIAL_QUORUM_SIZE |
static AttributeSensor<java.lang.Boolean> |
IS_CLUSTER_INITIALIZED |
static AttributeSensor<java.lang.Long> |
MEM_USED_PER_NODE |
static ConfigKey<Duration> |
NODES_STARTED_STABILIZATION_DELAY |
static AttributeSensor<java.lang.Double> |
OPS_PER_NODE |
static ConfigKey<java.util.List<java.util.Map<java.lang.String,java.lang.Object>>> |
REPLICATION |
static AttributeSensor<java.lang.Double> |
VB_REPLICA_CURR_ITEMS_PER_NODE |
AVAILABILITY_ZONE_NAMES, CLUSTER, CLUSTER_MEMBER, CLUSTER_MEMBER_ID, CLUSTER_ONE_AND_ALL_MEMBERS_UP, CUSTOM_CHILD_FLAGS, ENABLE_AVAILABILITY_ZONES, ENTITY_QUARANTINED, FAILED_SUB_LOCATIONS, FIRST_MEMBER_SPEC, MAX_CONCURRENT_CHILD_COMMANDS, MAX_SIZE, MEMBER_SPEC, NUM_AVAILABILITY_ZONES, QUARANTINE_FAILED_ENTITIES, QUARANTINE_FILTER, QUARANTINE_GROUP, REMOVAL_STRATEGY, RESIZE_BY_DELTA, RESTART_MODE, SERVICE_STATE_ACTUAL, START_TIMEOUT, SUB_LOCATIONS, ZONE_FAILURE_DETECTOR, ZONE_PLACEMENT_STRATEGY
FIRST, GROUP_MEMBERS, MEMBER_DELEGATE_CHILDREN, MEMBER_DELEGATE_NAME_FORMAT, RUNNING_QUORUM_CHECK, UP_QUORUM_CHECK
GROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVED
INITIAL_SIZE
RESTART, SERVICE_UP, START, STOP
REPLACE_MEMBER
Modifier and Type | Method and Description |
---|---|
int |
getQuorumSize() |
addNode, resizeByDelta, setMemberSpec, setRemovalStrategy, setZoneFailureDetector, setZonePlacementStrategy
getFirst, setMembers, setMembers
addChild, addChild, addMember, addMemberChild, addMemberChild, getCurrentSize, getMembers, hasMember, removeMember
addFeed, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEntityType, getIconUrl, getId, getLocations, getParent, groups, invoke, policies, relations, removeChild, sensors, setDisplayName, setParent
getCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tags
config, getConfig
restart, start, stop
getCurrentSize, resize
replaceMember
static final AttributeSensor<java.lang.Integer> ACTUAL_CLUSTER_SIZE
static final AttributeSensor<java.util.Set<Entity>> COUCHBASE_CLUSTER_UP_NODES
static final AttributeSensor<java.util.List<java.lang.String>> COUCHBASE_CLUSTER_BUCKETS
static final AttributeSensor<Entity> COUCHBASE_PRIMARY_NODE
static final AttributeSensor<java.lang.Boolean> IS_CLUSTER_INITIALIZED
static final ConfigKey<java.lang.String> CLUSTER_NAME
static final ConfigKey<java.lang.Integer> INITIAL_QUORUM_SIZE
static final ConfigKey<Duration> NODES_STARTED_STABILIZATION_DELAY
static final ConfigKey<java.lang.String> COUCHBASE_ADMIN_USERNAME
static final ConfigKey<java.lang.String> COUCHBASE_ADMIN_PASSWORD
static final AttributeSensor<java.util.List<java.lang.String>> COUCHBASE_CLUSTER_UP_NODE_ADDRESSES
static final AttributeSensor<java.lang.String> COUCHBASE_CLUSTER_CONNECTION_URL
static final AttributeSensor<java.lang.Double> OPS_PER_NODE
static final AttributeSensor<java.lang.Double> EP_BG_FETCHED_PER_NODE
static final AttributeSensor<java.lang.Double> CURR_ITEMS_PER_NODE
static final AttributeSensor<java.lang.Double> VB_REPLICA_CURR_ITEMS_PER_NODE
static final AttributeSensor<java.lang.Double> GET_HITS_PER_NODE
static final AttributeSensor<java.lang.Double> CMD_GET_PER_NODE
static final AttributeSensor<java.lang.Double> CURR_ITEMS_TOT_PER_NODE
static final AttributeSensor<java.lang.Long> COUCH_DOCS_DATA_SIZE_PER_NODE
static final AttributeSensor<java.lang.Long> MEM_USED_PER_NODE
static final AttributeSensor<java.lang.Long> COUCH_VIEWS_ACTUAL_DISK_SIZE_PER_NODE
static final AttributeSensor<java.lang.Long> COUCH_DOCS_ACTUAL_DISK_SIZE_PER_NODE
static final AttributeSensor<java.lang.Long> COUCH_VIEWS_DATA_SIZE_PER_NODE
static final AttributeSensor<java.lang.Boolean> BUCKET_CREATION_IN_PROGRESS
static final ConfigKey<java.util.List<java.util.Map<java.lang.String,java.lang.Object>>> CREATE_BUCKETS
static final ConfigKey<java.util.List<java.util.Map<java.lang.String,java.lang.Object>>> REPLICATION