Package org.apache.catalina.tribes.tipis
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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionMapMessage(byte[] mapId, int msgtype, boolean diff, Serializable key, Serializable value, byte[] diffvalue, Member primary, Member[] nodes) -
Method Summary
Modifier and TypeMethodDescriptionclone()voiddeserialize(ClassLoader[] cls) Member[]byte[]getKey()byte[]byte[]getMapId()intgetValue()byte[]booleanisDiff()key(ClassLoader[] cls) voidsetKey(Serializable key) voidsetValue(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:
IOExceptionClassNotFoundException
-
getMsgType
public int getMsgType() -
isDiff
public boolean isDiff() -
getKey
-
key
- Throws:
IOExceptionClassNotFoundException
-
getKeyData
public byte[] getKeyData() -
getValue
-
value
- Throws:
IOExceptionClassNotFoundException
-
getValueData
public byte[] getValueData() -
getDiffValue
public byte[] getDiffValue() -
getBackupNodes
-
getPrimary
-
getMapId
public byte[] getMapId() -
setValue
-
setKey
-
clone
-