Package org.jgroups.util
Class MergeId
java.lang.Object
org.jgroups.util.MergeId
- All Implemented Interfaces:
Streamable
ID to uniquely identify a merge
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MergeIdbooleaninthashCode()voidRead the state of the current object (including superclasses) from instream Note that the input stream must not be closedintsize()toString()voidwriteTo(DataOutput out) Write the entire state of the current object (including superclasses) to outstream.
-
Field Details
-
initiator
-
id
private int id -
LAST_ID
private static int LAST_ID
-
-
Constructor Details
-
MergeId
public MergeId() -
MergeId
-
-
Method Details
-
create
-
equals
-
hashCode
public int hashCode() -
size
public int size() -
writeTo
Description copied from interface:StreamableWrite the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeToin interfaceStreamable- Throws:
IOException
-
readFrom
Description copied from interface:StreamableRead the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFromin interfaceStreamable- Throws:
IOExceptionClassNotFoundException
-
toString
-