ostore.tapestry.impl
Class DynamicObjMapMsg
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--ostore.util.NonceAckMsg
|
+--ostore.util.NonceMsg
|
+--ostore.tapestry.impl.DynamicObjMapMsg
- All Implemented Interfaces:
- Cloneable, QueueElementIF, QuickSerializable
- public class DynamicObjMapMsg
- extends NonceMsg
- implements QuickSerializable
Constructor Summary |
DynamicObjMapMsg(InputBuffer buffer)
|
DynamicObjMapMsg(NodeId peer,
NodeId src,
SecureHash objguid,
LinkedList pinfo,
int objcount,
int seq)
|
DynamicObjMapMsg(NodeId peer,
NodeId src,
SecureHash objguid,
LinkedList pinfo,
int objcount,
int seq,
int type)
|
src
public NodeId src
objguid
public SecureHash objguid
pinfo
public LinkedList pinfo
objcount
public int objcount
seq
public int seq
type
public int type
INSERTION
public static final int INSERTION
DELETION
public static final int DELETION
DELETIONACK
public static final int DELETIONACK
DELETION_NACK
public static final int DELETION_NACK
ignoreNodes
public HashSet ignoreNodes
- if type == DELETIONACK or DELETION_NACK, then this is the list
of nodes we've already looked at, and are all leaving
nextSurrogate
public NodeId nextSurrogate
- if type == DELETION_NACK, this is the next suggested surrogate node
DynamicObjMapMsg
public DynamicObjMapMsg(NodeId peer,
NodeId src,
SecureHash objguid,
LinkedList pinfo,
int objcount,
int seq)
DynamicObjMapMsg
public DynamicObjMapMsg(NodeId peer,
NodeId src,
SecureHash objguid,
LinkedList pinfo,
int objcount,
int seq,
int type)
DynamicObjMapMsg
public DynamicObjMapMsg(InputBuffer buffer)
throws QSException
addIgnoreNodes
public void addIgnoreNodes(HashSet toIgnore)
addNextSurrogate
public void addNextSurrogate(NodeId next)
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Specified by:
serialize
in interface QuickSerializable
- Overrides:
serialize
in class NonceMsg
- Following copied from interface:
ostore.util.QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class NonceAckMsg
toString
public String toString()
- Overrides:
toString
in class NonceMsg