Return-Path: Delivered-To: apmail-jakarta-turbine-jcs-user-archive@www.apache.org Received: (qmail 25523 invoked from network); 29 Jan 2005 00:46:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Jan 2005 00:46:28 -0000 Received: (qmail 93922 invoked by uid 500); 29 Jan 2005 00:46:28 -0000 Delivered-To: apmail-jakarta-turbine-jcs-user-archive@jakarta.apache.org Received: (qmail 93768 invoked by uid 500); 29 Jan 2005 00:46:28 -0000 Mailing-List: contact turbine-jcs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Turbine JCS Users List" Reply-To: "Turbine JCS Users List" Delivered-To: mailing list turbine-jcs-user@jakarta.apache.org Received: (qmail 93748 invoked by uid 99); 29 Jan 2005 00:46:28 -0000 X-ASF-Spam-Status: No, hits=-13.6 required=10.0 tests=DNS_FROM_RFC_POST,SPF_HELO_PASS,SPF_PASS,USER_IN_DEF_WHITELIST X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of aaronsm@amazon.com designates 207.171.164.42 as permitted sender) Received: from smtp-out-1002.amazon.com (HELO smtp-out-1002.amazon.com) (207.171.164.42) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 28 Jan 2005 16:46:26 -0800 Received: from smtp-in-1002.vdc.amazon.com by smtp-out-1002.amazon.com with ESMTP (peer crosscheck: smtp-in-1002.vdc.amazon.com) X-Amazon-Corporate-Relay: smtp-out-1002.vdc.amazon.com X-AMAZON-TRACK: Received: from ex-mail-sea-04.ant.amazon.com by smtp-in-1002.vdc.amazon.com with ESMTP (crosscheck: ex-mail-sea-04.ant.amazon.com [10.16.196.97]) id j0T0kOVU026919 for ; Sat, 29 Jan 2005 00:46:24 GMT X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Element attribute IsSpool does nothing Date: Fri, 28 Jan 2005 16:45:33 -0800 Message-ID: <8F208FA62CA1794BACCB61029BB868A107B6130D@ex-mail-sea-04.ant.amazon.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Element attribute IsSpool does nothing Thread-Index: AcUFj9MvsapGbYnZSz2GtXJQq00YFgACz7dw From: "Smuts, Aaron" To: "Turbine JCS Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It's fixed now. I'll make another dev build after more testing. =20 I can't remember what happened. . . . The spool method now checks if = the items are spoolable. =20 We need better unit tests around all these element config options. I'll = work on some soon. Maybe your test class would work. Feel free to send = it if you think it would help. Elements should now leave purgatory even if the disk cache is not alive. = I will work on a better solution to this problem. The disk cache balks = on most operations if it is not alive. Puts however invovle the = purgatory, so they are a bit different. We need a way to avoid = purgatory if the cache is not alive. I'll work on something. Cheers, Aaron -----Original Message----- From: Wyatt, Allen [mailto:Allen.Wyatt@travelocity.com]=20 Sent: Friday, January 28, 2005 3:20 PM To: turbine-jcs-user@jakarta.apache.org Subject: Element attribute IsSpool does nothing If I'm reading the JCS code correctly (and my unit tests are working), = it appears the IsSpool element attribute isn't used. I test this by creating a cache region that uses a disk cache and = writing some elements to the cache, half of which have IsSpool turned on = and half of which have it turned off. However, when the cache region = spools to disk the items that have IsSpool turned off are written to = disk along with the others. Is this fixed in a later version of JCS? --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org