| 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)
L1ManageraddRequestor in interface L1Managerpublic Future<Object> flushCacheWithSimpleFuture(Collection<Object> keys, Object retval, Address origin, boolean assumeOriginKeptEntryInL1)
flushCacheWithSimpleFuture in interface L1Managerpublic NotifyingNotifiableFuture<Object> flushCache(Collection<Object> keys, Object retval, Address origin, boolean assumeOriginKeptEntryInL1)
L1ManagerflushCache in interface L1ManagerCopyright © 2012 JBoss by Red Hat. All Rights Reserved.