public interface PostCommitFilteringEventListener extends PostCommitEventListener
This is useful if there are quick decisions that can be made synchronously, and to avoid creating useless thread work.
Modifier and Type | Method and Description |
---|---|
boolean |
acceptEvent(Event event)
Checks if this event is worth passing to the asynchronous
PostCommitEventListener.handleEvent(org.nuxeo.ecm.core.event.EventBundle) . |
handleEvent
boolean acceptEvent(Event event)
PostCommitEventListener.handleEvent(org.nuxeo.ecm.core.event.EventBundle)
.event
- the eventtrue
to accept it, or false
to ignore itCopyright © 2012 Nuxeo SA. All Rights Reserved.