org.infinispan.distribution
Class JoinTask
java.lang.Object
org.infinispan.distribution.RehashTask
org.infinispan.distribution.JoinTask
- All Implemented Interfaces:
- Callable<Void>
- Direct Known Subclasses:
- MergeTask
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
chOld
protected ConsistentHash chOld
chNew
protected ConsistentHash chNew
JoinTask
public JoinTask(RpcManager rpcManager,
CommandsFactory commandsFactory,
Configuration conf,
DataContainer dataContainer,
DistributionManagerImpl dmi,
InboundInvocationHandler inboundInvocationHandler)
getPermissionToJoin
protected void getPermissionToJoin()
throws Exception
- Throws:
Exception
signalJoinRehashEnd
protected void signalJoinRehashEnd()
performRehash
protected void performRehash()
throws Exception
- Specified by:
performRehash
in class RehashTask
- Throws:
Exception
broadcastNewConsistentHash
protected void broadcastNewConsistentHash()
getMyAddress
public Address getMyAddress()
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.