org.infinispan.distribution
Class InvertedLeaveTask

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

public class InvertedLeaveTask
extends RehashTask

A task to handle rehashing for when a node leaves the cluster

Since:
4.0
Author:
Vladimir Blagojevic, Manik Surtani

Nested Class Summary
protected  class InvertedLeaveTask.LeaveStateGrabber
           
 
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, log, rpcManager, self, statePullExecutor, trace
 
Constructor Summary
InvertedLeaveTask(DistributionManagerImpl dmi, RpcManager rpcManager, Configuration conf, CommandsFactory commandsFactory, DataContainer dataContainer, List<Address> stateProviders, List<Address> stateReceivers, boolean isReceiver)
           
 
Method Summary
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

InvertedLeaveTask

public InvertedLeaveTask(DistributionManagerImpl dmi,
                         RpcManager rpcManager,
                         Configuration conf,
                         CommandsFactory commandsFactory,
                         DataContainer dataContainer,
                         List<Address> stateProviders,
                         List<Address> stateReceivers,
                         boolean isReceiver)
Method Detail

performRehash

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

-->

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