Package | Description |
---|---|
org.apache.solr.cloud.autoscaling.sim |
Simulated environment for autoscaling.
|
Modifier and Type | Field and Description |
---|---|
SimCloudManager |
SimScenario.cluster |
Modifier and Type | Method and Description |
---|---|
static SimCloudManager |
SimCloudManager.createCluster(ClusterState initialState,
TimeSource timeSource)
Create a cluster initialized from the provided cluster state.
|
static SimCloudManager |
SimCloudManager.createCluster(int numNodes,
TimeSource timeSource)
Create a cluster with the specified number of nodes.
|
static SimCloudManager |
SimCloudManager.createCluster(SolrCloudManager other,
AutoScalingConfig config,
TimeSource timeSource) |
Constructor and Description |
---|
SimClusterStateProvider(LiveNodesSet liveNodes,
SimCloudManager cloudManager)
The instance needs to be initialized using the
sim* methods in order
to ensure proper behavior, otherwise it will behave as a cluster with zero replicas. |
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.