public interface EventBundle extends Iterable<Event>
EventBundle is similar to the
EventIterator interface. Other than the
EventIterator an EventBundle allows to retrieve
the events multiple times using the getEvents() method.| Modifier and Type | Method and Description |
|---|---|
Iterator<Event> |
getEvents()
Returns the events of this bundle.
|
boolean |
isLocal()
Returns
true if this event bundle is associated with a
change that was initiated by a local session info. |
forEach, iterator, spliteratorIterator<Event> getEvents()
events of this bundle.boolean isLocal()
true if this event bundle is associated with a
change that was initiated by a local session info. Event bundles for
external changes will aways return false.true if this event bundle is associated with a local
change, false if this event bundle contains external
changes.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.