public interface ZooKeeperEnsemble 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 BasicAttributeSensorAndConfigKey<java.lang.String> |
CLUSTER_NAME |
static ConfigKey<java.lang.Integer> |
INITIAL_SIZE |
static ConfigKey<<any>> |
NODE_ID_SUPPLIER |
static AttributeSensor<java.lang.String> |
ZOOKEEPER_ENDPOINTS |
static AttributeSensor<java.util.List<java.lang.String>> |
ZOOKEEPER_SERVERS |
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, INITIAL_QUORUM_SIZE, 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
RESTART, SERVICE_UP, START, STOP
REPLACE_MEMBER
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClusterName()
Deprecated.
since 0.10.0 use
sensors().get(ZooKeeperEnsemble.CLUSTER_NAME) instead |
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 BasicAttributeSensorAndConfigKey<java.lang.String> CLUSTER_NAME
static final ConfigKey<java.lang.Integer> INITIAL_SIZE
static final ConfigKey<<any>> NODE_ID_SUPPLIER
static final AttributeSensor<java.util.List<java.lang.String>> ZOOKEEPER_SERVERS
static final AttributeSensor<java.lang.String> ZOOKEEPER_ENDPOINTS