|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.distribution.jgroups.JGroupSerializable
public class JGroupSerializable
Serializable type used for Jgroups type replication
| Field Summary | |
|---|---|
static int |
PUT
A put or update event. |
static int |
REMOVE
A remove or invalidate event. |
static int |
REMOVE_ALL
A removeAll, which removes all elements from a cache |
| Constructor Summary | |
|---|---|
JGroupSerializable(int event,
java.io.Serializable key,
java.lang.Object value,
java.lang.String cacheName)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCacheName()
Gets the cache name |
int |
getEvent()
Gets the event |
java.io.Serializable |
getKey()
Get the Serializable key for the event |
java.lang.Object |
getValue()
Gets the value, null if REMOVE or REMOVE_ALL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PUT
public static final int REMOVE
public static final int REMOVE_ALL
| Constructor Detail |
|---|
public JGroupSerializable(int event,
java.io.Serializable key,
java.lang.Object value,
java.lang.String cacheName)
event - the type of replication eventkey - the keyvalue - can be null if REMOVE or REMOVE_ALL| Method Detail |
|---|
public int getEvent()
public java.io.Serializable getKey()
public java.lang.Object getValue()
public java.lang.String getCacheName()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||