Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 82774 invoked from network); 8 Jan 2010 18:54:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 18:54:16 -0000 Received: (qmail 70991 invoked by uid 500); 8 Jan 2010 18:54:16 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 70925 invoked by uid 500); 8 Jan 2010 18:54:15 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 70915 invoked by uid 99); 8 Jan 2010 18:54:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 18:54:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 18:54:14 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 81A1B234C498 for ; Fri, 8 Jan 2010 10:53:54 -0800 (PST) Message-ID: <289833465.127221262976834529.JavaMail.jira@brutus.apache.org> Date: Fri, 8 Jan 2010 18:53:54 +0000 (UTC) From: "Doug Cutting (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Updated: (AVRO-273) Stopwatch: simple class to encapsulate time for statistics gathering In-Reply-To: <1971200250.1262223329404.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-273: ------------------------------ Resolution: Fixed Fix Version/s: 1.3.0 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I just committed this. Thanks, Philip! > 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 > Fix For: 1.3.0 > > 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.