[ 
https://issues.apache.org/jira/browse/JCR-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227438#comment-13227438
 ] 

Jukka Zitting commented on JCR-3186:
------------------------------------

Like Alex, I'd ideally see this as an extra TimeSeries instance.

> I see no cleaner way of getting the RepositoryStatistics object from the 
> ObservationDispatcher.

Instead of building extra responsibilities into the ObservationDispatcher class 
(that's already fairly complex), I'd like to see it simply expose the queue 
size with a simple getter method, and leave it up to a separate class to turn 
that information into a TimeSeries.
                
> Export size of Observation eventQueue to JMX
> --------------------------------------------
>
>                 Key: JCR-3186
>                 URL: https://issues.apache.org/jira/browse/JCR-3186
>             Project: Jackrabbit Content Repository
>          Issue Type: Wish
>          Components: jackrabbit-core
>            Reporter: Jörg Hoh
>            Priority: Minor
>         Attachments: JR-observationQueueJMX-trunk.patch
>
>
> export the size of the event queue of JCR Observation to JMX.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to