Package org.hippoecm.repository.api
Interface RevisionEventJournal
-
- All Superinterfaces:
EventIterator
,EventJournal
,Iterator
,RangeIterator
public interface RevisionEventJournal extends EventJournal
An extension ofEventJournal
which also allows skipping based on Event revision.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RevisionEvent
nextEvent()
void
skipToRevision(long revision)
Skip all Events with revision less than or equal torevision
.-
Methods inherited from interface javax.jcr.observation.EventJournal
skipTo
-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
skipToRevision
void skipToRevision(long revision)
Skip all Events with revision less than or equal torevision
.- Parameters:
revision
- the revision after which this iterator should be positioned
-
nextEvent
RevisionEvent nextEvent()
- Specified by:
nextEvent
in interfaceEventIterator
-
-