|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.thl.log.LogIndexEntry
public class LogIndexEntry
Implements a sortable index entry, where entries are sorted by sequence number.
| Constructor Summary | |
|---|---|
LogIndexEntry(long startSeqno,
long endSeqno,
java.lang.String fileName)
Creates a new IndexEntry object |
|
| Method Summary | |
|---|---|
int |
compareTo(LogIndexEntry o)
Implementation required for Comparable so that we can sort entries. |
boolean |
contains(long seqno)
Returns true if the given seqno is in the file that this entry indexes. |
boolean |
hasSeqno(long seqno)
Returns true if the index entry contains this sequence number. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LogIndexEntry(long startSeqno,
long endSeqno,
java.lang.String fileName)
IndexEntry object
startSeqno - fileName - | Method Detail |
|---|
public boolean hasSeqno(long seqno)
public int compareTo(LogIndexEntry o)
compareTo in interface java.lang.Comparable<LogIndexEntry>public boolean contains(long seqno)
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||