Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 30724 invoked from network); 15 Jul 2010 20:11:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jul 2010 20:11:29 -0000 Received: (qmail 63261 invoked by uid 500); 15 Jul 2010 20:11:29 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 63176 invoked by uid 500); 15 Jul 2010 20:11:28 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 63168 invoked by uid 99); 15 Jul 2010 20:11:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 20:11:28 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 20:11:26 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6FKB4p6023965 for ; Thu, 15 Jul 2010 20:11:04 GMT Message-ID: <3177915.402621279224664400.JavaMail.jira@thor> Date: Thu, 15 Jul 2010 16:11:04 -0400 (EDT) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Subject: [jira] Resolved: (HTTPCORE-230) Need time related metrics data In-Reply-To: <4940670.367291279081550159.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-230?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCORE-230. ---------------------------------------- Resolution: Fixed Methods added to relevant classes in SVN trunk. Please review. Oleg > Need time related metrics data > ------------------------------ > > Key: HTTPCORE-230 > URL: https://issues.apache.org/jira/browse/HTTPCORE-230 > Project: HttpComponents HttpCore > Issue Type: New Feature > Components: HttpCore > Reporter: Zhang Guilin > Fix For: 4.1 > > Attachments: Sample_Metrics.txt > > > I found this issue HTTPCORE-181 raised before. > I got the similar requirement that we want to measure all kinds of time-r= elated data to get the performance report such as: > 1. DNS parsing time > 2. Connection setup time > 2. header parsing time > 3. body transfer time > ... > I found that there are a lot of "private" fields which have no setter met= hod in this component, this makes us hard to extend the functionality. > For example in org.apache.http.impl.io.AbstractSessionInputBuffer#init() = method, it would be better to change "this.metrics =3D new HttpTransportMet= ricsImpl();" to "this.metrics =3D createMetrics()" (a protected method=EF= =BC=89 which subclasses can easily override this if they want to get an ext= ended HttpTransportMetricsImpl instance. > Can some one look at this feature? --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org