|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.observation.EventJournalImpl
public class EventJournalImpl
EventJournalImpl implements the JCR 2.0 EventJournal.
| Constructor Summary | |
|---|---|
EventJournalImpl(EventFilter filter,
Journal journal,
String producerId)
Creates a new event journal. |
|
| Method Summary | |
|---|---|
long |
getPosition()
|
long |
getSize()
|
boolean |
hasNext()
|
Object |
next()
|
Event |
nextEvent()
|
void |
remove()
|
void |
skip(long skipNum)
|
void |
skipTo(long date)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventJournalImpl(EventFilter filter,
Journal journal,
String producerId)
filter - for filtering the events read from the journal.journal - the cluster journal.producerId - the producer id of the cluster node.| Method Detail |
|---|
public void skipTo(long date)
skipTo in interface EventJournalpublic Event nextEvent()
nextEvent in interface EventIteratorpublic void skip(long skipNum)
skip in interface RangeIteratorpublic long getSize()
getSize in interface RangeIteratorpublic long getPosition()
getPosition in interface RangeIteratorpublic void remove()
remove in interface IteratorUnsupportedOperationException - always.public boolean hasNext()
hasNext in interface Iteratorpublic Object next()
next in interface Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||