Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 88660 invoked from network); 23 May 2006 03:34:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2006 03:34:27 -0000 Received: (qmail 70577 invoked by uid 500); 23 May 2006 03:34:27 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 70551 invoked by uid 500); 23 May 2006 03:34:27 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 70540 invoked by uid 99); 23 May 2006 03:34:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 20:34:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 20:34:26 -0700 Received: from ajax.apache.org (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6786AD49FE for ; Tue, 23 May 2006 04:34:03 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: derby-commits@db.apache.org Date: Tue, 23 May 2006 03:34:03 -0000 Message-ID: <20060523033403.4045.91973@ajax.apache.org> Subject: [Db-derby Wiki] Update of "NetworkServerSessionManagement" by BryanPendleton X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification. The following page has been changed by BryanPendleton: http://wiki.apache.org/db-derby/NetworkServerSessionManagement The comment on the change is: Incorporate Deepa's comments on lifetimes. ------------------------------------------------------------------------------ haven't yet set up this situation in the debugger, so I'm not sure about this part.) + {{{Session}}} objects are also closed and discarded when the Network Server + shuts down or is restarted. + == DRDAConnThread Lifetime == A {{{DRDAConnThread}}} instance is created by the Client Thread when it detects @@ -108, +111 @@ number of idle threads. {{{DRDAConnThread}}} instances are only destroyed when the Network Server shuts + down or is restarted. - down. The mechanism for shutting down a {{{DRDAConnThread}}} instance is + The mechanism for shutting down a {{{DRDAConnThread}}} instance is cooperative (that is, we don't call {{{Thread.stop())}}}: the Network Server calls the thread's {{{close()}}} method, which sets a flag on the thread, and the thread checks the flag periodically and exits its {{{run()}}} method if it