public class ScalePlan extends Object
Modifier and Type | Method and Description |
---|---|
static Map<Integer,Set<Integer>> |
createAndInitPartitionChunksMap(int numOfPartitions) |
static Map<Integer,Set<Integer>> |
createPartitionChunksMap(int numOfPartitions) |
static ScalePlan |
createScaleInPlan(ClusterTopology currentTopology,
int factor,
int maxTopologyGeneration) |
static ScalePlan |
createScaleOutPlan(ClusterTopology currentTopology,
int factor,
int maxTopologyGeneration) |
ClusterTopology |
getCurrentMap() |
ClusterTopology |
getNewMap() |
Map<Integer,Map<Integer,Set<Integer>>> |
getPlans() |
String |
toString() |
public static Map<Integer,Set<Integer>> createPartitionChunksMap(int numOfPartitions)
public static Map<Integer,Set<Integer>> createAndInitPartitionChunksMap(int numOfPartitions)
public static ScalePlan createScaleOutPlan(ClusterTopology currentTopology, int factor, int maxTopologyGeneration)
public static ScalePlan createScaleInPlan(ClusterTopology currentTopology, int factor, int maxTopologyGeneration)
public ClusterTopology getCurrentMap()
public ClusterTopology getNewMap()
Copyright © GigaSpaces.