Package org.apache.jackrabbit.spi
Interface EventBundle
- All Known Implementing Classes:
EventBundleImpl
An
EventBundle is similar to the
EventIterator interface. Other than the
EventIterator an EventBundle allows to retrieve
the events multiple times using the getEvents() method.-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getEvents
Returns the events of this bundle.- Returns:
- the
eventsof this bundle.
-
isLocal
boolean isLocal()Returnstrueif this event bundle is associated with a change that was initiated by a local session info. Event bundles for external changes will aways returnfalse.- Returns:
trueif this event bundle is associated with a local change,falseif this event bundle contains external changes.
-