Constructor and Description |
---|
EventJournalImpl(EventFilter filter,
Journal journal,
String producerId,
SessionImpl session)
Creates a new event journal.
|
public EventJournalImpl(EventFilter filter, Journal journal, String producerId, SessionImpl session)
filter
- for filtering the events read from the journal.journal
- the cluster journal.producerId
- the producer id of the cluster node.session
- target sessionpublic void skipTo(long date)
skipTo
in interface javax.jcr.observation.EventJournal
public javax.jcr.observation.Event nextEvent()
nextEvent
in interface javax.jcr.observation.EventIterator
public void skip(long skipNum)
skip
in interface javax.jcr.RangeIterator
public long getSize()
getSize
in interface javax.jcr.RangeIterator
public long getPosition()
getPosition
in interface javax.jcr.RangeIterator
public void remove()
remove
in interface Iterator
UnsupportedOperationException
- always.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.