org.nuxeo.ecm.core.management.events
Class EventCounterListener
java.lang.Object
org.nuxeo.ecm.core.management.events.EventCounterListener
- All Implemented Interfaces:
- PostCommitEventListener
public class EventCounterListener
- extends Object
- implements PostCommitEventListener
AsyncEventListener that collects events to update the Simon counters
- Author:
- Tiry (tdelprat@nuxeo.com)
Method Summary |
void |
handleEvent(EventBundle events)
Handles the set of events that were raised during the life of an user
operation. |
EVENT_CREATE_COUNTER
public static final String EVENT_CREATE_COUNTER
- See Also:
- Constant Field Values
EVENT_UPDATE_COUNTER
public static final String EVENT_UPDATE_COUNTER
- See Also:
- Constant Field Values
EVENT_REMOVE_COUNTER
public static final String EVENT_REMOVE_COUNTER
- See Also:
- Constant Field Values
EventCounterListener
public EventCounterListener()
handleEvent
public void handleEvent(EventBundle events)
throws ClientException
- Description copied from interface:
PostCommitEventListener
- Handles the set of events that were raised during the life of an user
operation.
The events are fired as a BundleEvent
after the transaction is
committed.
- Specified by:
handleEvent
in interface PostCommitEventListener
- Parameters:
events
- the events to handle
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.