|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgroups.util.Digest.Entry
public static class Digest.Entry
Class keeping track of the lowest and highest sequence numbers delivered, and the highest sequence numbers received, per member. This class is immutable
| Constructor Summary | |
|---|---|
Digest.Entry()
|
|
Digest.Entry(Digest.Entry other)
|
|
Digest.Entry(long low_seqno,
long highest_delivered_seqno)
|
|
Digest.Entry(long low_seqno,
long highest_delivered_seqno,
long highest_received_seqno)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
long |
getHighest()
Return the max of the highest delivered or highest received seqno |
long |
getHighestDeliveredSeqno()
|
long |
getHighestReceivedSeqno()
|
long |
getLow()
|
void |
readExternal(java.io.ObjectInput in)
|
void |
readFrom(java.io.DataInputStream in)
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed |
int |
size()
|
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
|
void |
writeTo(java.io.DataOutputStream out)
Write the entire state of the current object (including superclasses) to outstream. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Digest.Entry()
public Digest.Entry(long low_seqno,
long highest_delivered_seqno,
long highest_received_seqno)
public Digest.Entry(long low_seqno,
long highest_delivered_seqno)
public Digest.Entry(Digest.Entry other)
| Method Detail |
|---|
public final long getLow()
public final long getHighestDeliveredSeqno()
public final long getHighestReceivedSeqno()
public final long getHighest()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundExceptionpublic int size()
public void writeTo(java.io.DataOutputStream out)
throws java.io.IOException
Streamable
writeTo in interface Streamablejava.io.IOException
public void readFrom(java.io.DataInputStream in)
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
Streamable
readFrom in interface Streamablejava.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||