Class AbstractReplicatedMap.MapMessage
java.lang.Object
org.apache.catalina.tribes.tipis.AbstractReplicatedMap.MapMessage
- All Implemented Interfaces:
Serializable
,Cloneable
- Enclosing class:
AbstractReplicatedMap<K,
V>
public static class AbstractReplicatedMap.MapMessage
extends Object
implements Serializable, Cloneable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionMapMessage
(byte[] mapId, int msgtype, boolean diff, Serializable key, Serializable value, byte[] diffvalue, Member primary, Member[] nodes) -
Method Summary
Modifier and TypeMethodDescriptionclone()
void
deserialize
(ClassLoader[] cls) Member[]
byte[]
getKey()
byte[]
byte[]
getMapId()
int
getValue()
byte[]
boolean
isDiff()
key
(ClassLoader[] cls) void
setKey
(Serializable key) void
setValue
(Serializable value) toString()
value
(ClassLoader[] cls)
-
Field Details
-
MSG_BACKUP
public static final int MSG_BACKUP- See Also:
-
MSG_RETRIEVE_BACKUP
public static final int MSG_RETRIEVE_BACKUP- See Also:
-
MSG_PROXY
public static final int MSG_PROXY- See Also:
-
MSG_REMOVE
public static final int MSG_REMOVE- See Also:
-
MSG_STATE
public static final int MSG_STATE- See Also:
-
MSG_START
public static final int MSG_START- See Also:
-
MSG_STOP
public static final int MSG_STOP- See Also:
-
MSG_INIT
public static final int MSG_INIT- See Also:
-
MSG_COPY
public static final int MSG_COPY- See Also:
-
MSG_STATE_COPY
public static final int MSG_STATE_COPY- See Also:
-
MSG_ACCESS
public static final int MSG_ACCESS- See Also:
-
MSG_NOTIFY_MAPMEMBER
public static final int MSG_NOTIFY_MAPMEMBER- See Also:
-
MSG_PING
public static final int MSG_PING- See Also:
-
-
Constructor Details
-
MapMessage
public MapMessage(byte[] mapId, int msgtype, boolean diff, Serializable key, Serializable value, byte[] diffvalue, Member primary, Member[] nodes)
-
-
Method Details
-
toString
-
getTypeDesc
-
deserialize
- Throws:
IOException
ClassNotFoundException
-
getMsgType
public int getMsgType() -
isDiff
public boolean isDiff() -
getKey
-
key
- Throws:
IOException
ClassNotFoundException
-
getKeyData
public byte[] getKeyData() -
getValue
-
value
- Throws:
IOException
ClassNotFoundException
-
getValueData
public byte[] getValueData() -
getDiffValue
public byte[] getDiffValue() -
getBackupNodes
-
getPrimary
-
getMapId
public byte[] getMapId() -
setValue
-
setKey
-
clone
-