Package javax.jcr.observation
Interface EventJournal
- All Superinterfaces:
EventIterator,Iterator,RangeIterator
- Since:
- JCR 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidskipTo(long date) Skip all elements of the iterator earlier thandate.Methods inherited from interface javax.jcr.observation.EventIterator
nextEventMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, removeMethods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
Method Details
-
skipTo
void skipTo(long date) Skip all elements of the iterator earlier thandate.If an attempt is made to skip past the last element of the iterator, no exception is thrown but the subsequent
EventIterator.nextEvent()will fail.- Parameters:
date- a long value that represents an offset in milliseconds from the Epoch, January 1, 1970 00:00:00.000 GMT (Gregorian).
-