Package org.jgroups.protocols
Class CAUSAL.MissingIndexesMessage
- java.lang.Object
-
- org.jgroups.protocols.CAUSAL.MissingIndexesMessage
-
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable,Streamable
- Enclosing class:
- CAUSAL
public static final class CAUSAL.MissingIndexesMessage extends java.lang.Object implements java.io.Externalizable, Streamable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingIndexesMessage()Used for externalization.MissingIndexesMessage(java.util.Collection missingLocalTimes, java.util.Collection missingCompletions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]getMissingCompletionIndexes()int[]getMissingTimeIndexes()voidreadExternal(java.io.ObjectInput in)voidreadFrom(java.io.DataInputStream in)Read the state of the current object (including superclasses) from instream Note that the input stream must not be closedjava.lang.StringtoString()voidwriteExternal(java.io.ObjectOutput out)voidwriteTo(java.io.DataOutputStream out)Write the entire state of the current object (including superclasses) to outstream.
-
-
-
Method Detail
-
getMissingTimeIndexes
public int[] getMissingTimeIndexes()
-
getMissingCompletionIndexes
public int[] getMissingCompletionIndexes()
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
writeExternalin interfacejava.io.Externalizable- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException- Specified by:
readExternalin interfacejava.io.Externalizable- Throws:
java.io.IOException
-
writeTo
public void writeTo(java.io.DataOutputStream out) throws java.io.IOExceptionDescription 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:
java.io.IOException
-
readFrom
public void readFrom(java.io.DataInputStream in) throws java.io.IOExceptionDescription 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:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-