Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3859

Extend EventListenerMBean to report time series for observation processing

    XMLWordPrintableJSON

Details

    Description

      For OAK-2596 I would like to add the following methods to EventListenerMBean:

      /**
       * {@link org.apache.jackrabbit.api.stats.TimeSeries time series} of 
       * the number of items related to generating observation events that 
       * are currently queued by the system. The exact nature of these items 
       * is implementation specific and might not be in a one to one relation 
       * with the number of pending JCR events.
       * @return  time series of the queue length
       */
       CompositeData getQueueLength();
      
      /**
       * @return  time series of the number of JCR events
       */
      CompositeData getEventCount();
      
      /**
       * @return  time series of the time it took an event listener to process 
       * JCR events.
       */
      CompositeData getEventConsumerTime();
      
      /**
       * @return  time series of the time it took the system to produce JCR events.
       */
      CompositeData getEventProducerTime();
      

      cc egli

      Attachments

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: