Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-273

Stopwatch: simple class to encapsulate time for statistics gathering

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0
    • java
    • None
    • Reviewed

    Description

      To measure the duration of an RPC call, I need something that encapsulates the start and stop time. This is something simple that fits the bill.

      The main thing I needed was the ability to swap out tick timers: otherwise things get unwieldy for testing.

      Attachments

        1. AVRO-273.patch.txt
          6 kB
          Philip Martin
        2. AVRO-273.patch.txt
          6 kB
          Philip Martin
        3. AVRO-273.patch.txt
          6 kB
          Philip Martin

        Issue Links

          Activity

            People

              philip Philip Martin
              philip Philip Martin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: