Package org.apache.catalina.tribes.tipis
Class AbstractReplicatedMap.MapMessage
- java.lang.Object
- 
- org.apache.catalina.tribes.tipis.AbstractReplicatedMap.MapMessage
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable
 - Enclosing class:
- AbstractReplicatedMap<K,V>
 
 public static class AbstractReplicatedMap.MapMessage extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intMSG_ACCESSstatic intMSG_BACKUPstatic intMSG_COPYstatic intMSG_INITstatic intMSG_NOTIFY_MAPMEMBERstatic intMSG_PINGstatic intMSG_PROXYstatic intMSG_REMOVEstatic intMSG_RETRIEVE_BACKUPstatic intMSG_STARTstatic intMSG_STATEstatic intMSG_STATE_COPYstatic intMSG_STOP
 - 
Constructor SummaryConstructors Constructor Description MapMessage(byte[] mapId, int msgtype, boolean diff, java.io.Serializable key, java.io.Serializable value, byte[] diffvalue, Member primary, Member[] nodes)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractReplicatedMap.MapMessageclone()shallow clonevoiddeserialize(java.lang.ClassLoader[] cls)Member[]getBackupNodes()byte[]getDiffValue()java.io.SerializablegetKey()byte[]getKeyData()byte[]getMapId()intgetMsgType()MembergetPrimary()java.lang.StringgetTypeDesc()java.io.SerializablegetValue()byte[]getValueData()booleanisDiff()java.io.Serializablekey(java.lang.ClassLoader[] cls)voidsetKey(java.io.Serializable key)voidsetValue(java.io.Serializable value)java.lang.StringtoString()java.io.Serializablevalue(java.lang.ClassLoader[] cls)
 
- 
- 
- 
Field Detail- 
MSG_BACKUPpublic static final int MSG_BACKUP - See Also:
- Constant Field Values
 
 - 
MSG_RETRIEVE_BACKUPpublic static final int MSG_RETRIEVE_BACKUP - See Also:
- Constant Field Values
 
 - 
MSG_PROXYpublic static final int MSG_PROXY - See Also:
- Constant Field Values
 
 - 
MSG_REMOVEpublic static final int MSG_REMOVE - See Also:
- Constant Field Values
 
 - 
MSG_STATEpublic static final int MSG_STATE - See Also:
- Constant Field Values
 
 - 
MSG_STARTpublic static final int MSG_START - See Also:
- Constant Field Values
 
 - 
MSG_STOPpublic static final int MSG_STOP - See Also:
- Constant Field Values
 
 - 
MSG_INITpublic static final int MSG_INIT - See Also:
- Constant Field Values
 
 - 
MSG_COPYpublic static final int MSG_COPY - See Also:
- Constant Field Values
 
 - 
MSG_STATE_COPYpublic static final int MSG_STATE_COPY - See Also:
- Constant Field Values
 
 - 
MSG_ACCESSpublic static final int MSG_ACCESS - See Also:
- Constant Field Values
 
 - 
MSG_NOTIFY_MAPMEMBERpublic static final int MSG_NOTIFY_MAPMEMBER - See Also:
- Constant Field Values
 
 - 
MSG_PINGpublic static final int MSG_PING - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
getTypeDescpublic java.lang.String getTypeDesc() 
 - 
deserializepublic void deserialize(java.lang.ClassLoader[] cls) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
- java.io.IOException
- java.lang.ClassNotFoundException
 
 - 
getMsgTypepublic int getMsgType() 
 - 
isDiffpublic boolean isDiff() 
 - 
getKeypublic java.io.Serializable getKey() 
 - 
keypublic java.io.Serializable key(java.lang.ClassLoader[] cls) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
- java.io.IOException
- java.lang.ClassNotFoundException
 
 - 
getKeyDatapublic byte[] getKeyData() 
 - 
getValuepublic java.io.Serializable getValue() 
 - 
valuepublic java.io.Serializable value(java.lang.ClassLoader[] cls) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
- java.io.IOException
- java.lang.ClassNotFoundException
 
 - 
getValueDatapublic byte[] getValueData() 
 - 
getDiffValuepublic byte[] getDiffValue() 
 - 
getBackupNodespublic Member[] getBackupNodes() 
 - 
getPrimarypublic Member getPrimary() 
 - 
getMapIdpublic byte[] getMapId() 
 - 
setValuepublic void setValue(java.io.Serializable value) 
 - 
setKeypublic void setKey(java.io.Serializable key) 
 - 
clonepublic AbstractReplicatedMap.MapMessage clone() shallow clone- Overrides:
- clonein class- java.lang.Object
- Returns:
- Object
 
 
- 
 
-