| Modifier and Type | Field and Description |
|---|---|
static String |
JGROUPS_PROTOCOL_STACK |
| Constructor and Description |
|---|
DistributedCache(String name,
String groupname,
int capacity) |
DistributedCache(String name,
String groupname,
int capacity,
Class cacheImpl) |
DistributedCache(String name,
String groupname,
int capacity,
Class cacheImpl,
String jgroups_protocol_stack) |
DistributedCache(String name,
String groupname,
int capacity,
float load,
Class cacheImpl) |
DistributedCache(String name,
String groupname,
int capacity,
float load,
Class cacheImpl,
String jgroups_protocol_stack) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
protected void |
clear(boolean send) |
Object |
get(Object key) |
byte[] |
getState() |
Object |
put(Object key,
Object value) |
protected Object |
put(Object key,
Object value,
boolean send) |
void |
receive(org.jgroups.Message msg) |
Object |
remove(Object key) |
protected Object |
remove(Object key,
boolean send) |
void |
setState(byte[] state) |
String |
toString() |
public static final String JGROUPS_PROTOCOL_STACK
public DistributedCache(String name, String groupname, int capacity, Class cacheImpl, String jgroups_protocol_stack)
public DistributedCache(String name, String groupname, int capacity, Class cacheImpl)
public DistributedCache(String name, String groupname, int capacity, float load, Class cacheImpl, String jgroups_protocol_stack)
protected void clear(boolean send)
public void receive(org.jgroups.Message msg)
receive in interface org.jgroups.MessageListenerpublic void setState(byte[] state)
setState in interface org.jgroups.MessageListenerpublic byte[] getState()
getState in interface org.jgroups.MessageListenerCopyright © 2015. All Rights Reserved.