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

add a Guava Stopwatch like duration formatter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.0, 1.8.0
    • commons
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: