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 metricsAsyncEventListener that collects events to update the Simon counters- Author:
- Tiry ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description protected static List<String>
createEvents
Deprecated.static String
EVENT_CREATE_COUNTER
Deprecated.static String
EVENT_REMOVE_COUNTER
Deprecated.static String
EVENT_UPDATE_COUNTER
Deprecated.protected static List<String>
removeEvents
Deprecated.protected static List<String>
updateEvents
Deprecated.
-
Constructor Summary
Constructors Constructor Description EventCounterListener()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
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 Detail
-
EVENT_CREATE_COUNTER
public static final String EVENT_CREATE_COUNTER
Deprecated.- See Also:
- Constant Field Values
-
EVENT_UPDATE_COUNTER
public static final String EVENT_UPDATE_COUNTER
Deprecated.- See Also:
- Constant Field Values
-
EVENT_REMOVE_COUNTER
public static final String EVENT_REMOVE_COUNTER
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
handleEvent
public void handleEvent(EventBundle events)
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
-
-