public interface SynchronousEventListener extends EventListener
EventListener
implementations that wish a synchronous notification of changes to the
workspace. That is, a SynchronousEventListener is called before
the call to Item.save() returns. In contrast, a regular
EventListener might be called after
save() returns.
Important note: an implementation of SynchronousEventListener
must not modify content with the thread that calls EventListener.onEvent(EventIterator) otherwise inconsistencies may occur.
onEventCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.