public class MongoDBShardedDeploymentImpl extends AbstractEntity implements MongoDBShardedDeployment
| Modifier and Type | Class and Description |
|---|---|
static class |
MongoDBShardedDeploymentImpl.ColocatedRouterTrackingPolicy |
AbstractEntity.BasicConfigurationSupport, AbstractEntity.BasicSensorSupportEntity.SensorSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportStartable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBodyEntityInternal.FeedSupport, EntityInternal.SensorSupportInternalBrooklynObjectInternal.ConfigurationSupportInternalCHILD_ADDED, CHILD_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, GROUP_ADDED, GROUP_REMOVED, LOCATION_ADDED, LOCATION_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVEDCO_LOCATED_ROUTER_GROUP, CONFIG_CLUSTER_SIZE, CONFIG_SERVER_CLUSTER, INITIAL_ROUTER_CLUSTER_SIZE, INITIAL_SHARD_CLUSTER_SIZE, MONGODB_CONFIG_SERVER_SPEC, MONGODB_REPLICA_SET_SPEC, MONGODB_ROUTER_SPEC, ROUTER_CLUSTER, ROUTER_UP_TIMEOUT, SHARD_CLUSTER, SHARD_REPLICASET_SIZERESTART, SERVICE_UP, START, STOP| Constructor and Description |
|---|
MongoDBShardedDeploymentImpl() |
| Modifier and Type | Method and Description |
|---|---|
MongoDBConfigServerCluster |
getConfigCluster() |
MongoDBRouterCluster |
getRouterCluster() |
MongoDBShardCluster |
getShardCluster() |
void |
init()
Default entity initialization, just calls
AbstractEntity.initEnrichers(). |
void |
restart()
Restart the entity.
|
void |
start(java.util.Collection<? extends Location> locations)
Start the entity in the given collection of locations.
|
void |
stop()
Stop the entity.
|
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, clearLocations, clearParent, config, configure, configure, configure, configure, configure, destroy, emit, emitInternal, 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, getSubscriptionContext, hashCode, invalidateReferences, invoke, invoke, invoke, modifyAttribute, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeGroup, removeLocations, removePolicy, requestPersist, resetProxy, sensors, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, unsubscribe, unsubscribegetCatalogItemId, getId, rebind, setCatalogItemId, tagsaddChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, invoke, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setParentgetCatalogItemId, tagsconfig, setConfigsetCatalogItemIdpublic void init()
AbstractEntityAbstractEntity.initEnrichers().init in class AbstractEntitypublic void start(java.util.Collection<? extends Location> locations)
Startable
Some entities may define custom Effector implementations which support
a richer set of parameters. See the entity-specific Startable.START effector declaration.
public 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.
public void restart()
Startable
Some entities may define custom Effector implementations which support
a richer set of parameters. See the entity-specific Startable.RESTART effector declaration.
public MongoDBConfigServerCluster getConfigCluster()
getConfigCluster in interface MongoDBShardedDeploymentpublic MongoDBRouterCluster getRouterCluster()
getRouterCluster in interface MongoDBShardedDeploymentpublic MongoDBShardCluster getShardCluster()
getShardCluster in interface MongoDBShardedDeployment