Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 30802 invoked from network); 27 Sep 2007 06:33:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Sep 2007 06:33:17 -0000 Received: (qmail 72685 invoked by uid 500); 27 Sep 2007 06:33:05 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 72660 invoked by uid 500); 27 Sep 2007 06:33:05 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 72650 invoked by uid 99); 27 Sep 2007 06:33:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2007 23:33:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.19.7] (HELO sineb-mail-2.sun.com) (192.18.19.7) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 06:33:04 +0000 Received: from fe-apac-06.sun.com (fe-apac-06.sun.com [192.18.19.177] (may be forged)) by sineb-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l8R6Wbte006634 for ; Thu, 27 Sep 2007 06:32:42 GMT Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JP000201K76DH00@mail-apac.sun.com> (original mail from V.Narayanan@Sun.COM) for derby-dev@db.apache.org; Thu, 27 Sep 2007 14:32:37 +0800 (SGT) Received: from [129.158.251.140] by mail-apac.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JP000HIGKU8YER8@mail-apac.sun.com> for derby-dev@db.apache.org; Thu, 27 Sep 2007 14:32:37 +0800 (SGT) Date: Thu, 27 Sep 2007 12:05:28 +0530 From: V Narayanan Subject: Re: DaemonFactory vs Threads in derby In-reply-to: Sender: V.Narayanan@Sun.COM To: derby-dev@db.apache.org Message-id: <46FB4F30.1000905@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <46F3D4E3.4070603@sun.com> User-Agent: Thunderbird 1.5.0.13 (X11/20070824) X-Virus-Checked: Checked by ClamAV on apache.org Dag H. Wanvik wrote: > V Narayanan writes: > > >> Hi, >> >> >> I am working on the LogShipper design for the Replication work. During this >> >> course of that work I am at a place where I need to design a seperate thread >> > > Not sure if it's appropriate in this case, but you may want to look at > the query cancelling (CancelQueryTask), which builds on a TimerTask. > > Dag > Thank you for this info. I will take a look at the CancelQueryTask. Narayanan