Class EventCounterListener
java.lang.Object
org.nuxeo.ecm.core.management.events.EventCounterListener
- All Implemented Interfaces:
PostCommitEventListener
@Deprecated(since="11.4")
public class EventCounterListener
extends Object
implements PostCommitEventListener
Deprecated.
since 11.4: superseded by dropwizard metrics
AsyncEventListener that collects events to update the Simon counters
- Author:
- Tiry ([email protected])
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(EventBundle events) Deprecated.Handles the set of events that were raised during the life of an user operation.protected void
updateCounters
(List<String> eventNames) Deprecated.
-
Field Details
-
EVENT_CREATE_COUNTER
Deprecated.- See Also:
-
EVENT_UPDATE_COUNTER
Deprecated.- See Also:
-
EVENT_REMOVE_COUNTER
Deprecated.- See Also:
-
createEvents
Deprecated. -
updateEvents
Deprecated. -
removeEvents
Deprecated.
-
-
Constructor Details
-
EventCounterListener
public EventCounterListener()Deprecated.
-
-
Method Details
-
handleEvent
Deprecated.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 interfacePostCommitEventListener
- Parameters:
events
- the events to handle
-
updateCounters
Deprecated.
-