There has been a slight interest in the past for adding JMX support.
This would be the first stab at it. It is a Top 15 slow query log. (the 15 part is configurable)
It is not enabled by default, so just being there should not affect the overall performance too much. You can enable it and play a little, tell me what you think.
I've also added a test case that does a duration comparison with and without the logger.
The most important part of this issue is that it should open the way for some proper monitoring tools support around queries, caches, anything/everything Jackrabbit.
As usual, please let me know what you guys think
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|235d 11h 30m||1||Alex Parvulescu||22/Nov/11 22:36|
|13d 16h 10m||1||Jukka Zitting||06/Dec/11 14:47|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||2.3.4 [ 12319050 ]|
|Resolution||Fixed [ 1 ]|
[ Dear sender,
I'm currently out of the office and will not be able to read my email.
For urgent Hippo matters please send an email to firstname.lastname@example.org
or call: +31205224466
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142
US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466