Michael Dürig created JCR-3859:
----------------------------------
Summary: Extend EventListenerMBean to report time series for
observation processing
Key: JCR-3859
URL: https://issues.apache.org/jira/browse/JCR-3859
Project: Jackrabbit Content Repository
Issue Type: New Feature
Components: jackrabbit-api, jackrabbit-jcr-commons
Reporter: Michael Dürig
Assignee: Michael Dürig
Fix For: 2.9.2
For OAK-2596 I would like to add the following methods to
{{EventListenerMBean}}:
{code}
/**
* {@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();
{code}
cc [~egli]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)