Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 58666 invoked from network); 26 Mar 2007 07:50:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2007 07:50:18 -0000 Received: (qmail 58009 invoked by uid 500); 26 Mar 2007 07:50:25 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 57991 invoked by uid 500); 26 Mar 2007 07:50:24 -0000 Mailing-List: contact jcs-users-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JCS Users List" Delivered-To: mailing list jcs-users@jakarta.apache.org Received: (qmail 57976 invoked by uid 99); 26 Mar 2007 07:50:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2007 00:50:24 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [198.207.223.240] (HELO babbler.bmc.com) (198.207.223.240) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2007 00:50:15 -0700 Received: from hou-ec-02.adprod.bmc.com (hou-ec-02.adprod.bmc.com [172.17.1.111]) by babbler.bmc.com (Postfix) with ESMTP id 6D103130818 for ; Mon, 26 Mar 2007 02:49:20 -0500 (CDT) Received: from hou-ex-04.adprod.bmc.com ([172.17.1.226]) by hou-ec-02.adprod.bmc.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 26 Mar 2007 02:49:20 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C76F7B.42F65D80" Subject: RE: get method return null for existing key Date: Mon, 26 Mar 2007 02:49:18 -0500 Message-ID: <142CBE7E2572C54FB3577C534BC09DB710F23C8F@hou-ex-04.adprod.bmc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE: get method return null for existing key Thread-Index: Acdve0Ij7ejJZ7pYSRS2EqbKSgM2jA== From: "Gierski, Christophe" To: X-OriginalArrivalTime: 26 Mar 2007 07:49:20.0007 (UTC) FILETIME=[430F1170:01C76F7B] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C76F7B.42F65D80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi,=20 =20 Thanks for the answer. =20 I have lookup the code and it seems that the purgatory is back ended by a LRUMapJCS when a purgatory size is grather than 0 and by a simple HashMap where the purgatory size is less than 0. =20 The issue is that the purgatory could age out items without writing them to the disk as the method processRemovedLRU() to process the object removal do just a log work : =20 protected void processRemovedLRU( Object key, Object value ) { if ( log.isDebugEnabled() ) { log.debug( "Removing key [" + key + "] from key store, value [" + value + "]" ); log.debug( "Key store size [" + this.size() + "]" ); } } =20 =20 My configuration says that elements need to be eternal, so do the purgatory is allowed to remove elements without respecting the contract of eternal ? Is it a bug or a misunderstood feature of the purgatory ? =20 Regards,=20 --Christophe. =20 ------_=_NextPart_001_01C76F7B.42F65D80--