/[Apache-SVN]
ViewVC logotype

Revision 495911


Jump to revision: Previous Next
Author: mikemccand
Date: Sat Jan 13 15:40:34 2007 UTC (17 years, 9 months ago)
Changed paths: 7
Log Message:
LUCENE-771:

  * API change: change LockFactory.clearAllLocks() to
    LockFactory.clearLock(String lockName) because locks are no longer
    so "global".  (This API is not released yet).  Now FSDirectory
    just clears specifically the write lock when create=true.

  * Fix abstraction violation of LockFactory: FSDirectory now calls
    clearLock() instead of doing File deletes itself (duh!).


Changed paths

Path Details
Directorylucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java modified , text changed
Directorylucene/java/trunk/src/java/org/apache/lucene/store/LockFactory.java modified , text changed
Directorylucene/java/trunk/src/java/org/apache/lucene/store/NativeFSLockFactory.java modified , text changed
Directorylucene/java/trunk/src/java/org/apache/lucene/store/NoLockFactory.java modified , text changed
Directorylucene/java/trunk/src/java/org/apache/lucene/store/SimpleFSLockFactory.java modified , text changed
Directorylucene/java/trunk/src/java/org/apache/lucene/store/SingleInstanceLockFactory.java modified , text changed
Directorylucene/java/trunk/src/test/org/apache/lucene/store/TestLockFactory.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26