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) |
static ScalePlan |
createScaleOutPlan(ClusterTopology currentTopology,
int factor) |
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)
public static ScalePlan createScaleInPlan(ClusterTopology currentTopology, int factor)
public ClusterTopology getCurrentMap()
public ClusterTopology getNewMap()
Copyright © GigaSpaces.