You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2019/07/12 13:22:00 UTC
[jira] [Updated] (OAK-6020) add a Guava Stopwatch like duration
formatter
[ https://issues.apache.org/jira/browse/OAK-6020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke updated OAK-6020:
--------------------------------
Labels: (was: candidate_oak_1_0 candidate_oak_1_2 candidate_oak_1_4 candidate_oak_1_6)
> add a Guava Stopwatch like duration formatter
> ---------------------------------------------
>
> Key: OAK-6020
> URL: https://issues.apache.org/jira/browse/OAK-6020
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: commons
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
> Fix For: 1.7.0, 1.8.0
>
> Attachments: OAK-6020.diff
>
>
> The duration formatter in {{com.google.common.base.Stopwatch}} can only be used when we indeed have a {{Stopwatch}} object, which is not always the case.
> {{org.apache.jackrabbit.oak.management.ManagementOperation}} has similar code already.
> Proposal: move that code into a separate generic class.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)