public class Seqno extends Object
Constructor and Description |
---|
Seqno(long low) |
Seqno(long num,
boolean dummy)
Only used to compare a long against a range in a TreeSet / TreeMap.
|
Modifier and Type | Method and Description |
---|---|
void |
clear(long num) |
boolean |
contains(long num) |
boolean |
equals(Object obj) |
boolean |
get(long num) |
long |
getLow() |
Collection<Range> |
getMessagesToRetransmit() |
int |
getNumberOfMissingMessages() |
int |
getNumberOfReceivedMessages() |
int |
hashCode() |
boolean |
isDummy() |
String |
print() |
protected boolean |
received() |
void |
set(long num) |
int |
size() |
String |
toString() |
public static final byte DUMMY
public static final byte RECEIVED
public Seqno(long low)
public Seqno(long num, boolean dummy)
num
- dummy
- public boolean isDummy()
public long getLow()
public boolean contains(long num)
public boolean get(long num)
public void set(long num)
public void clear(long num)
public int getNumberOfReceivedMessages()
public int getNumberOfMissingMessages()
public int size()
public Collection<Range> getMessagesToRetransmit()
public String print()
protected boolean received()
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.