|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.core.jcr.RewindableEventIterator
@Deprecated public class RewindableEventIterator
RewindableEventIterator
An implementation of javax.jcr.observation.EventIterator
,
which has the ability to rewind to the beginning.
Caution: Because this tries to copy all events initially, it can cause performance problems.
Constructor Summary | |
---|---|
RewindableEventIterator(javax.jcr.observation.EventIterator events)
Deprecated. |
|
RewindableEventIterator(javax.jcr.observation.EventIterator events,
int max,
String[] skipPaths)
Deprecated. |
Method Summary | |
---|---|
long |
getPosition()
Deprecated. |
long |
getSize()
Deprecated. |
boolean |
hasNext()
Deprecated. |
protected boolean |
isEventOnSkippedPath(javax.jcr.observation.Event event,
String[] skipPaths)
Deprecated. |
Object |
next()
Deprecated. |
javax.jcr.observation.Event |
nextEvent()
Deprecated. |
void |
remove()
Deprecated. |
void |
rewind()
Deprecated. |
void |
skip(long skipNum)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RewindableEventIterator(javax.jcr.observation.EventIterator events)
public RewindableEventIterator(javax.jcr.observation.EventIterator events, int max, String[] skipPaths)
Method Detail |
---|
public void rewind()
public javax.jcr.observation.Event nextEvent()
nextEvent
in interface javax.jcr.observation.EventIterator
public long getPosition()
getPosition
in interface javax.jcr.RangeIterator
public long getSize()
getSize
in interface javax.jcr.RangeIterator
public void skip(long skipNum)
skip
in interface javax.jcr.RangeIterator
public boolean hasNext()
hasNext
in interface Iterator
public Object next()
next
in interface Iterator
public void remove()
remove
in interface Iterator
protected boolean isEventOnSkippedPath(javax.jcr.observation.Event event, String[] skipPaths) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |