|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventJournal
An EventJournal is an extension of EventIterator
that provides the additional method skipTo(long):
| Method Summary | |
|---|---|
void |
skipTo(long date)
Skip all elements of the iterator earlier than date. |
| Methods inherited from interface org.apache.jackrabbit.api.jsr283.observation.EventIterator |
|---|
getDate |
| Methods inherited from interface javax.jcr.observation.EventIterator |
|---|
nextEvent |
| Methods inherited from interface javax.jcr.RangeIterator |
|---|
getPosition, getSize, skip |
| Methods inherited from interface java.util.Iterator |
|---|
hasNext, next, remove |
| Method Detail |
|---|
void skipTo(long date)
date.
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.
date - a date that is represented by the number of milliseconds
since January 1, 1970, 00:00:00 GMT
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||