public class EventJournalImpl extends Object implements EventJournal
EventJournalImpl
implement the JSR 283 event journal over SPI.Constructor and Description |
---|
EventJournalImpl(WorkspaceManager wspMgr,
EventFilter filter,
NamePathResolver resolver) |
Modifier and Type | Method and Description |
---|---|
long |
getPosition() |
long |
getSize() |
boolean |
hasNext() |
Object |
next() |
Event |
nextEvent() |
void |
remove() |
void |
skip(long skipNum) |
void |
skipTo(long date) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public EventJournalImpl(WorkspaceManager wspMgr, EventFilter filter, NamePathResolver resolver)
public void skipTo(long date)
skipTo
in interface EventJournal
public Event nextEvent()
nextEvent
in interface EventIterator
public void skip(long skipNum)
skip
in interface RangeIterator
public long getSize()
getSize
in interface RangeIterator
public long getPosition()
getPosition
in interface RangeIterator
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.