voldemort.client.rebalance
Class OrderedClusterTransition
java.lang.Object
voldemort.client.rebalance.OrderedClusterTransition
public class OrderedClusterTransition
- extends java.lang.Object
Ordered representation of a cluster transition that guarantees that primary
partition movements will take place before replicas.
Why? So that redirections for primary partitions can get over faster
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OrderedClusterTransition
public OrderedClusterTransition(Cluster currentCluster,
Cluster targetCluster,
java.util.List<StoreDefinition> storeDefs,
RebalanceClusterPlan rebalanceClusterPlan)
getStoreDefs
public java.util.List<StoreDefinition> getStoreDefs()
getId
public int getId()
getTargetCluster
public Cluster getTargetCluster()
getCurrentCluster
public Cluster getCurrentCluster()
getOrderedRebalancePartitionsInfoList
public java.util.List<RebalancePartitionsInfo> getOrderedRebalancePartitionsInfoList()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu