org.infinispan.distribution
Class JoinTask

java.lang.Object
  extended by org.infinispan.distribution.RehashTask
      extended by org.infinispan.distribution.JoinTask
All Implemented Interfaces:
Callable<Void>

public class JoinTask
extends RehashTask

JoinTask: This is a PULL based rehash. JoinTask is kicked off on the JOINER. Please see detailed designs on http://community.jboss.org/wiki/DesignOfDynamicRehashing

Since:
4.0
Author:
Manik Surtani, Mircea.Markus@jboss.com

Nested Class Summary
protected  class JoinTask.JoinStateGrabber
           
 
Nested classes/interfaces inherited from class org.infinispan.distribution.RehashTask
RehashTask.StateGrabber
 
Field Summary
 
Fields inherited from class org.infinispan.distribution.RehashTask
cf, configuration, dataContainer, distributionManager, log, rpcManager, self, statePullExecutor, trace
 
Constructor Summary
JoinTask(RpcManager rpcManager, CommandsFactory commandsFactory, Configuration conf, DataContainer dataContainer, DistributionManagerImpl dmi, InboundInvocationHandler inboundInvocationHandler)
           
 
Method Summary
 Address getMyAddress()
           
protected  void performRehash()
           
 
Methods inherited from class org.infinispan.distribution.RehashTask
call, coordinator, getInvalidHolders, invalidateInvalidHolders, invalidateInvalidHolders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinTask

public JoinTask(RpcManager rpcManager,
                CommandsFactory commandsFactory,
                Configuration conf,
                DataContainer dataContainer,
                DistributionManagerImpl dmi,
                InboundInvocationHandler inboundInvocationHandler)
Method Detail

performRehash

protected void performRehash()
                      throws Exception
Specified by:
performRehash in class RehashTask
Throws:
Exception

getMyAddress

public Address getMyAddress()


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.