public class CacheManager extends org.jgroups.ReceiverAdapter implements LambdaLogger
Constructor and Description |
---|
CacheManager(Vertx vertx,
org.jgroups.JChannel channel) |
Modifier and Type | Method and Description |
---|---|
<K,V> AsyncMap<K,V> |
createAsyncMap(String name) |
<K,V> AsyncMultiMap<K,V> |
createAsyncMultiMap(String name) |
<K,V> Map<K,V> |
createSyncMap(String name) |
void |
getState(OutputStream output) |
Logger |
log() |
void |
setState(InputStream input) |
void |
start() |
void |
stop() |
block, receive, suspect, unblock, viewAccepted
public CacheManager(Vertx vertx, org.jgroups.JChannel channel)
public <K,V> AsyncMultiMap<K,V> createAsyncMultiMap(String name)
public Logger log()
log
in interface LambdaLogger
public void getState(OutputStream output) throws Exception
getState
in interface org.jgroups.MessageListener
getState
in class org.jgroups.ReceiverAdapter
Exception
public void setState(InputStream input) throws Exception
setState
in interface org.jgroups.MessageListener
setState
in class org.jgroups.ReceiverAdapter
Exception
public void start()
public void stop()
Copyright © 2015. All rights reserved.