org.infinispan.statetransfer
Class DummyInvalidationStateTransferManagerImpl

java.lang.Object
  extended by org.infinispan.statetransfer.BaseStateTransferManagerImpl
      extended by org.infinispan.statetransfer.DummyInvalidationStateTransferManagerImpl
All Implemented Interfaces:
CacheViewListener, StateTransferManager

Deprecated. This is just a temporary hack, do not rely on it to exist in future versions

@Deprecated
public class DummyInvalidationStateTransferManagerImpl
extends BaseStateTransferManagerImpl

Dummy StateTransferManager implementation for caches in invalidation mode. It relies on the base class to register the cache with CacheViewsManager, but it doesn't do anything else.

Since:
5.1
Author:
Dan Berindei

Field Summary
 
Fields inherited from class org.infinispan.statetransfer.BaseStateTransferManagerImpl
cacheLoaderManager, cacheNotifier, cf, chNew, chOld, configuration, dataContainer, icc, interceptorChain, rpcManager, stateTransferLock, transactionTable
 
Constructor Summary
DummyInvalidationStateTransferManagerImpl()
          Deprecated.  
 
Method Summary
protected  ConsistentHash createConsistentHash(List<Address> members)
          Deprecated.  
protected  BaseStateTransferTask createStateTransferTask(int viewId, List<Address> members, boolean initialView)
          Deprecated.  
 CacheStore getCacheStoreForStateTransfer()
          Deprecated.  
protected  long getTimeout()
          Deprecated.  
 boolean isLocationInDoubt(Object key)
          Deprecated.  
 
Methods inherited from class org.infinispan.statetransfer.BaseStateTransferManagerImpl
applyLocks, applyState, commitView, getAddress, hasJoinStarted, init, isJoinComplete, isLastViewId, isStateTransferInProgress, postInstallView, preInstallView, prepareView, pushStateToNode, rollbackView, startStateTransfer, stop, waitForJoinToComplete, waitForJoinToStart, waitForStateTransferToComplete, waitForStateTransferToStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyInvalidationStateTransferManagerImpl

public DummyInvalidationStateTransferManagerImpl()
Deprecated. 
Method Detail

createConsistentHash

protected ConsistentHash createConsistentHash(List<Address> members)
Deprecated. 
Specified by:
createConsistentHash in class BaseStateTransferManagerImpl

getCacheStoreForStateTransfer

public CacheStore getCacheStoreForStateTransfer()
Deprecated. 
Specified by:
getCacheStoreForStateTransfer in class BaseStateTransferManagerImpl

createStateTransferTask

protected BaseStateTransferTask createStateTransferTask(int viewId,
                                                        List<Address> members,
                                                        boolean initialView)
Deprecated. 
Specified by:
createStateTransferTask in class BaseStateTransferManagerImpl

getTimeout

protected long getTimeout()
Deprecated. 
Specified by:
getTimeout in class BaseStateTransferManagerImpl

isLocationInDoubt

public boolean isLocationInDoubt(Object key)
Deprecated. 
Returns:
true if the key should be local but has not yet been copied to the local node

-->

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