Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.distribution
Class L1ManagerImpl

java.lang.Object
  extended by org.infinispan.distribution.L1ManagerImpl
All Implemented Interfaces:
L1Manager

public class L1ManagerImpl
extends Object
implements L1Manager


Constructor Summary
L1ManagerImpl()
           
 
Method Summary
 void addRequestor(Object key, Address origin)
          Records a request that will be cached in another nodes L1
 Future<Object> flushCache(Collection<Object> keys, Address origin, boolean assumeOriginKeptEntryInL1)
           
 Future<Object> flushCacheWithSimpleFuture(Collection<Object> keys, Object retval, Address origin, boolean assumeOriginKeptEntryInL1)
           
 void init(Configuration configuration, RpcManager rpcManager, CommandsFactory commandsFactory, ExecutorService asyncTransportExecutor, ScheduledExecutorService scheduledExecutor)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

L1ManagerImpl

public L1ManagerImpl()
Method Detail

init

public void init(Configuration configuration,
                 RpcManager rpcManager,
                 CommandsFactory commandsFactory,
                 ExecutorService asyncTransportExecutor,
                 ScheduledExecutorService scheduledExecutor)

start

public void start()

stop

public void stop()

addRequestor

public void addRequestor(Object key,
                         Address origin)
Description copied from interface: L1Manager
Records a request that will be cached in another nodes L1

Specified by:
addRequestor in interface L1Manager

flushCacheWithSimpleFuture

public Future<Object> flushCacheWithSimpleFuture(Collection<Object> keys,
                                                 Object retval,
                                                 Address origin,
                                                 boolean assumeOriginKeptEntryInL1)
Specified by:
flushCacheWithSimpleFuture in interface L1Manager

flushCache

public Future<Object> flushCache(Collection<Object> keys,
                                 Address origin,
                                 boolean assumeOriginKeptEntryInL1)
Specified by:
flushCache in interface L1Manager

Infinispan Distribution 5.2.6.Final-redhat-2

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