Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6020

add a Guava Stopwatch like duration formatter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0, 1.8.0
    • Component/s: commons
    • Labels:
      None

      Description

      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.

        Attachments

        1. OAK-6020.diff
          7 kB
          Julian Reschke

          Issue Links

            Activity

              People

              • Assignee:
                reschke Julian Reschke
                Reporter:
                reschke Julian Reschke
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: