Return-Path: Delivered-To: apmail-lucene-java-commits-archive@www.apache.org Received: (qmail 82927 invoked from network); 20 Jan 2010 13:29:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jan 2010 13:29:34 -0000 Received: (qmail 28781 invoked by uid 500); 20 Jan 2010 13:29:34 -0000 Delivered-To: apmail-lucene-java-commits-archive@lucene.apache.org Received: (qmail 28708 invoked by uid 500); 20 Jan 2010 13:29:34 -0000 Mailing-List: contact java-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-commits@lucene.apache.org Received: (qmail 28699 invoked by uid 99); 20 Jan 2010 13:29:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 13:29:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 13:29:33 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 278D816E25; Wed, 20 Jan 2010 13:29:13 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 20 Jan 2010 13:29:13 -0000 Message-ID: <20100120132913.445.88723@eos.apache.org> Subject: =?utf-8?q?=5BLucene-java_Wiki=5D_Update_of_=22AvailableLockFactories=22_b?= =?utf-8?q?y_SanneGrinovero?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" f= or change notification. The "AvailableLockFactories" page has been changed by SanneGrinovero. http://wiki.apache.org/lucene-java/AvailableLockFactories?action=3Ddiff&rev= 1=3D3&rev2=3D4 -------------------------------------------------- = Qualified Class``Name: {{{org.apache.lucene.store.NativeFSLockFactory}}} = - This implementation is similar to Simple``F``S``Lock``Factory, they both = extend F``S``Lock``Factory and rely on a lock file. This version relies on = N``I``O and the lock files will be properly removed (by the OS) if the JVM = has an abnormal exit, but should be avoided on N``F``S: make sure you read = the javadocs for updated details. + This implementation is similar to Simple``F``S``Lock``Factory, they both = extend F``S``Lock``Factory and rely on a lock file. This version relies on = N``I``O and the lock files will be properly removed (by the O``S) if the J`= `V``M has an abnormal exit, but should be avoided on N``F``S: make sure you= read the javadocs for updated details. + Because the lock is obtained for the current process different applicatio= ns in the same J``V``M might not be excluded properly; Lucene makes an atte= mpt to prevent this issue using a static reference to owned locks, but when= loaded in an isolated classloader or when reloading the same web applicati= on this workaround is not effective. = ---- =20