Constructor and Description |
---|
L1ManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addRequestor(Object key,
Address origin)
Records a request that will be cached in another nodes L1
|
NotifyingNotifiableFuture<Object> |
flushCache(Collection<Object> keys,
Object retval,
Address origin,
boolean assumeOriginKeptEntryInL1)
Flushes a cache (using unicast or multicast) for a set of keys
|
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() |
public void init(Configuration configuration, RpcManager rpcManager, CommandsFactory commandsFactory, ExecutorService asyncTransportExecutor, ScheduledExecutorService scheduledExecutor)
public void start()
public void stop()
public void addRequestor(Object key, Address origin)
L1Manager
addRequestor
in interface L1Manager
public Future<Object> flushCacheWithSimpleFuture(Collection<Object> keys, Object retval, Address origin, boolean assumeOriginKeptEntryInL1)
flushCacheWithSimpleFuture
in interface L1Manager
public NotifyingNotifiableFuture<Object> flushCache(Collection<Object> keys, Object retval, Address origin, boolean assumeOriginKeptEntryInL1)
L1Manager
flushCache
in interface L1Manager
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.