avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Zeyliger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-273) Stopwatch: simple class to encapsulate time for statistics gathering
Date Fri, 08 Jan 2010 00:52:54 GMT

     [ https://issues.apache.org/jira/browse/AVRO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Philip Zeyliger updated AVRO-273:
---------------------------------

    Attachment: AVRO-273.patch.txt

I'm game with making this stuff package-private.  (The only thing that would be public would
be the StatsPlugin and StatsServlet themselves).  The only changes between the patch files
are:

{noformat}
-public class Stopwatch  {
+class Stopwatch  {
-public class FakeTicks implements Ticks {
+class FakeTicks implements Ticks {
{noformat}

> Stopwatch: simple class to encapsulate time for statistics gathering
> --------------------------------------------------------------------
>
>                 Key: AVRO-273
>                 URL: https://issues.apache.org/jira/browse/AVRO-273
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Philip Zeyliger
>            Assignee: Philip Zeyliger
>            Priority: Minor
>         Attachments: AVRO-273.patch.txt, AVRO-273.patch.txt, AVRO-273.patch.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message