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 SummaryFieldsModifier 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 SummaryConstructorsConstructorDescriptionMapMessage(byte[] mapId, int msgtype, boolean diff, Serializable key, Serializable value, byte[] diffvalue, Member primary, Member[] nodes) 
- 
Method SummaryModifier and TypeMethodDescriptionclone()shallow clonevoiddeserialize(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_BACKUPpublic static final int MSG_BACKUP- See Also:
 
- 
MSG_RETRIEVE_BACKUPpublic static final int MSG_RETRIEVE_BACKUP- See Also:
 
- 
MSG_PROXYpublic static final int MSG_PROXY- See Also:
 
- 
MSG_REMOVEpublic static final int MSG_REMOVE- See Also:
 
- 
MSG_STATEpublic static final int MSG_STATE- See Also:
 
- 
MSG_STARTpublic static final int MSG_START- See Also:
 
- 
MSG_STOPpublic static final int MSG_STOP- See Also:
 
- 
MSG_INITpublic static final int MSG_INIT- See Also:
 
- 
MSG_COPYpublic static final int MSG_COPY- See Also:
 
- 
MSG_STATE_COPYpublic static final int MSG_STATE_COPY- See Also:
 
- 
MSG_ACCESSpublic static final int MSG_ACCESS- See Also:
 
- 
MSG_NOTIFY_MAPMEMBERpublic static final int MSG_NOTIFY_MAPMEMBER- See Also:
 
- 
MSG_PINGpublic static final int MSG_PING- See Also:
 
 
- 
- 
Constructor Details- 
MapMessagepublic 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
 
- 
getMsgTypepublic int getMsgType()
- 
isDiffpublic boolean isDiff()
- 
getKey
- 
key- Throws:
- IOException
- ClassNotFoundException
 
- 
getKeyDatapublic byte[] getKeyData()
- 
getValue
- 
value- Throws:
- IOException
- ClassNotFoundException
 
- 
getValueDatapublic byte[] getValueData()
- 
getDiffValuepublic byte[] getDiffValue()
- 
getBackupNodes
- 
getPrimary
- 
getMapIdpublic byte[] getMapId()
- 
setValue
- 
setKey
- 
cloneshallow clone
 
-