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

Constructor Summary
InvertedLeaveTask(DistributionManagerImpl dmi, RpcManager rpcManager, Configuration conf, CommandsFactory commandsFactory, DataContainer dataContainer, List<Address> leavers, List<Address> stateProviders, boolean isReceiver)
           
 
Method Summary
protected  Log getLog()
           
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> leavers,
                         List<Address> stateProviders,
                         boolean isReceiver)
Method Detail

performRehash

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

getLog

protected Log getLog()
Specified by:
getLog in class RehashTask

Google Analytics

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