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
|
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() |
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 Future<Object> flushCache(Collection<Object> keys, Address origin, boolean assumeOriginKeptEntryInL1)
flushCache
in interface L1Manager
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.