|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.journal.MemoryJournal.MemoryRecordIterator
public class MemoryJournal.MemoryRecordIterator
Record iterator implementation.
| Constructor Summary | |
|---|---|
MemoryJournal.MemoryRecordIterator(long startRevision,
long stopRevision)
Create a new instance of this class. |
|
| Method Summary | |
|---|---|
void |
close()
Close this iterator. |
boolean |
hasNext()
Return a flag indicating whether there are more records. |
Record |
nextRecord()
Return the next record. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryJournal.MemoryRecordIterator(long startRevision,
long stopRevision)
startRevision - start revisionstopRevision - stop revision| Method Detail |
|---|
public boolean hasNext()
hasNext in interface RecordIteratortrue if there are more records;
false otherwise
public Record nextRecord()
throws NoSuchElementException,
JournalException
NoSuchElementException. If an error occurs,
throws a JournalException.
nextRecord in interface RecordIteratorNoSuchElementException - if there are no more records
JournalException - if another error occurspublic void close()
close in interface RecordIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||