Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 55447 invoked from network); 2 Jul 2003 17:18:01 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 2 Jul 2003 17:18:01 -0000 Received: (qmail 2658 invoked by uid 97); 2 Jul 2003 17:20:27 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 2651 invoked from network); 2 Jul 2003 17:20:27 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 2 Jul 2003 17:20:27 -0000 Received: (qmail 55212 invoked by uid 500); 2 Jul 2003 17:17:58 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 55199 invoked from network); 2 Jul 2003 17:17:58 -0000 Received: from mxout5.cac.washington.edu (140.142.32.135) by daedalus.apache.org with SMTP; 2 Jul 2003 17:17:58 -0000 Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout5.cac.washington.edu (8.12.9+UW03.06/8.12.9+UW03.06) with ESMTP id h62HI1in009849 for ; Wed, 2 Jul 2003 10:18:01 -0700 Received: from u.washington.edu (ss05.co.us.ibm.com [32.97.110.70]) (authenticated bits=0) by smtp.washington.edu (8.12.9+UW03.06/8.12.9+UW03.06) with ESMTP id h62HHxXZ017825 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 2 Jul 2003 10:18:00 -0700 Message-ID: <3F0313B0.8000604@u.washington.edu> Date: Wed, 02 Jul 2003 13:17:36 -0400 From: Michael Becke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030313 Minotaur/0.1a X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [lang] TimeoutController from HttpClient References: <200307021042.PNC57300@vmms9.verisignmail.com> <1057162855.1471.1.camel@localhost.localdomain> In-Reply-To: <1057162855.1471.1.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 4.0.1.70432 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N java.util.Timer is meant to execute a task at a particular time or after a certain delay. TimeoutController is meant to interrupt(timeout) a process that takes more than a specific amount of time. It is used in HttpClient in one case to timeout opening a socket, as this is not natively supported pre JRE 1.4. Mike _matthewHawthorne wrote: > What does this class do that java.util.Timer and java.util.TimerTask > aren't capable of doing? > > > > > On Wed, 2003-07-02 at 03:42, Steven Caswell wrote: > >>Looks interesting to me. I think we should not hold up >>progress on 2.0, but work toward putting in TimeoutController >>somewhere along the line. >> >>---- Original message ---- >> >>>Date: Wed, 02 Jul 2003 08:27:12 +0200 >>>From: Tomasz Pik >>>Subject: [lang] TimeoutController from HttpClient >>>To: Jakarta Commons Developers List >> >> >> >>>Lang developers, >>> >>>I know that Lang 2.0 is oing to be 'finished' but I'd like >>>to propose to add TimeoutController[1] somewhere into Lang >>>codebase. >>> >>>It's very simple but useful class and Lang is (as I know >>>Commons packages) is the best location for such code. >>> >>>Also I think that such addition will follow the HttpClient >>>developers idea of moving not directly HttpClient related >>>code into separate package. >>> >>>Regards, >>>Tomek Pik >>> >>>[1] >>>http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/util/TimeoutController.html >>> >>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: >> >>commons-dev-unsubscribe@jakarta.apache.org >> >>>For additional commands, e-mail: >> >>commons-dev-help@jakarta.apache.org >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: commons-dev-help@jakarta.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org