voldemort.server.scheduler
Class RebalancingJob

java.lang.Object
  extended by voldemort.server.scheduler.RebalancingJob
All Implemented Interfaces:
java.lang.Runnable

public class RebalancingJob
extends java.lang.Object
implements java.lang.Runnable

A job that checks each key to see if it belongs on the current node. If it does not, it does a PUT on the key to assure that it is written to its proper home and then deletes it from the local node.


Constructor Summary
RebalancingJob(int localNodeId, RoutingStrategy router, StoreRepository storeRepository)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RebalancingJob

public RebalancingJob(int localNodeId,
                      RoutingStrategy router,
                      StoreRepository storeRepository)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu