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 Details

    • EVENT_CREATE_COUNTER

      public static final String EVENT_CREATE_COUNTER
      Deprecated.
      See Also:
    • EVENT_UPDATE_COUNTER

      public static final String EVENT_UPDATE_COUNTER
      Deprecated.
      See Also:
    • EVENT_REMOVE_COUNTER

      public static final String EVENT_REMOVE_COUNTER
      Deprecated.
      See Also:
    • createEvents

      protected static final List<String> createEvents
      Deprecated.
    • updateEvents

      protected static final List<String> updateEvents
      Deprecated.
    • removeEvents

      protected static final List<String> removeEvents
      Deprecated.
  • Constructor Details

    • EventCounterListener

      public EventCounterListener()
      Deprecated.
  • Method Details

    • 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 interface PostCommitEventListener
      Parameters:
      events - the events to handle
    • updateCounters

      protected void updateCounters(List<String> eventNames)
      Deprecated.