public interface MongoDBReplicaSet extends DynamicCluster
MongoDBServers, based on DynamicCluster which can be resized by a policy
 if required.
 Note
 An issue with mongod on Mac OS X can cause unpredictable failure of servers at start-up.
 See this mailing list post
 for more information.
 This replica set implementation has been tested on OS X 10.6 and Ubuntu 12.04.DynamicCluster.NodePlacementStrategy, DynamicCluster.ZoneFailureDetectorBrooklynObject.TagSupportStartable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody| Modifier and Type | Field and Description | 
|---|---|
| static AttributeSensor<MongoDBServer> | PRIMARY_ENTITY | 
| static AttributeSensor<java.util.List<java.lang.String>> | REPLICA_SET_ENDPOINTS | 
| static ConfigKey<java.lang.String> | REPLICA_SET_NAME | 
AVAILABILITY_ZONE_NAMES, CLUSTER, CLUSTER_MEMBER, CUSTOM_CHILD_FLAGS, ENABLE_AVAILABILITY_ZONES, ENTITY_QUARANTINED, FACTORY, FAILED_SUB_LOCATIONS, INITIAL_QUORUM_SIZE, MEMBER_SPEC, NUM_AVAILABILITY_ZONES, QUARANTINE_FAILED_ENTITIES, QUARANTINE_GROUP, REMOVAL_STRATEGY, RESIZE_BY_DELTA, 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| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getName()The name of the replica set. | 
| MongoDBServer | getPrimary() | 
| java.util.Collection<MongoDBServer> | getReplicas() | 
| java.util.Collection<MongoDBServer> | getSecondaries() | 
addNode, resizeByDelta, setFactory, setMemberSpec, setRemovalStrategy, setZoneFailureDetector, setZonePlacementStrategysetMembers, setMembersaddChild, addChild, addMember, addMemberChild, addMemberChild, getCurrentSize, getMembers, hasMember, removeMemberaddEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, addTag, clearParent, containsTag, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getTags, invoke, removeChild, removeEnricher, removeGroup, removePolicy, removeTag, setParentgetCatalogItemId, getTagSupport, tagsgetCurrentSize, resizereplaceMemberstatic final ConfigKey<java.lang.String> REPLICA_SET_NAME
static final AttributeSensor<MongoDBServer> PRIMARY_ENTITY
static final AttributeSensor<java.util.List<java.lang.String>> REPLICA_SET_ENDPOINTS
java.lang.String getName()
MongoDBServer getPrimary()
java.util.Collection<MongoDBServer> getSecondaries()
java.util.Collection<MongoDBServer> getReplicas()