org.apache.jackrabbit.jcr2spi.observation
Class EventJournalImpl

java.lang.Object
  extended by org.apache.jackrabbit.jcr2spi.observation.EventJournalImpl
All Implemented Interfaces:
Iterator, EventIterator, EventJournal, RangeIterator

public class EventJournalImpl
extends Object
implements EventJournal

EventJournalImpl implement the JSR 283 event journal over SPI.


Constructor Summary
EventJournalImpl(WorkspaceManager wspMgr, EventFilter filter, NamePathResolver resolver)
           
 
Method Summary
 long getPosition()
          
 long getSize()
          
 boolean hasNext()
          
 Object next()
          
 Event nextEvent()
          
 void remove()
          
 void skip(long skipNum)
          
 void skipTo(long date)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventJournalImpl

public EventJournalImpl(WorkspaceManager wspMgr,
                        EventFilter filter,
                        NamePathResolver resolver)
Method Detail

skipTo

public void skipTo(long date)

Specified by:
skipTo in interface EventJournal

nextEvent

public Event nextEvent()

Specified by:
nextEvent in interface EventIterator

skip

public void skip(long skipNum)

Specified by:
skip in interface RangeIterator

getSize

public long getSize()

Specified by:
getSize in interface RangeIterator

getPosition

public long getPosition()

Specified by:
getPosition in interface RangeIterator

hasNext

public boolean hasNext()

Specified by:
hasNext in interface Iterator

next

public Object next()

Specified by:
next in interface Iterator

remove

public void remove()

Specified by:
remove in interface Iterator


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.