public static class Digest.Entry extends Object implements Externalizable, Streamable
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getHighest()
Return the max of the highest delivered or highest received seqno
|
long |
getHighestDeliveredSeqno() |
long |
getHighestReceivedSeqno() |
long |
getLow() |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
readFrom(DataInputStream in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
static int |
size() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeTo(DataOutputStream out)
Write the entire state of the current object (including superclasses) to outstream.
|
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)
public final long getLow()
public final long getHighestDeliveredSeqno()
public final long getHighestReceivedSeqno()
public final long getHighest()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public static int size()
public void writeTo(DataOutputStream out) throws IOException
Streamable
writeTo
in interface Streamable
IOException
public void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException
Streamable
readFrom
in interface Streamable
IOException
IllegalAccessException
InstantiationException
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.