lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Update of "AvailableLockFactories" by SanneGrinovero
Date Wed, 20 Jan 2010 13:29:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "AvailableLockFactories" page has been changed by SanneGrinovero.
http://wiki.apache.org/lucene-java/AvailableLockFactories?action=diff&rev1=3&rev2=4

--------------------------------------------------

  
  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 applications in the same
J``V``M might not be excluded properly; Lucene makes an attempt to prevent this issue using
a static reference to owned locks, but when loaded in an isolated classloader or when reloading
the same web application this workaround is not effective.
  
  ----
  

Mime
View raw message