Uses of Class
org.apache.lucene.store.Lock
-
Packages that use Lock Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.store Binary i/o API, used for all index data. -
-
Uses of Lock in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return Lock Modifier and Type Method Description LockCompoundDirectory. obtainLock(java.lang.String name) -
Uses of Lock in org.apache.lucene.index
Fields in org.apache.lucene.index declared as Lock Modifier and Type Field Description private LockCheckIndex. writeLockprivate LockIndexWriter. writeLockMethods in org.apache.lucene.index that return types with arguments of type Lock Modifier and Type Method Description private java.util.List<Lock>IndexWriter. acquireWriteLocks(Directory... dirs)Acquires write locks on all the directories; be sure to match with a call toIOUtils.close(java.io.Closeable...)in a finally clause.Constructors in org.apache.lucene.index with parameters of type Lock Constructor Description CheckIndex(Directory dir, Lock writeLock)Expert: create a directory with the specified lock. -
Uses of Lock in org.apache.lucene.store
Subclasses of Lock in org.apache.lucene.store Modifier and Type Class Description (package private) static classNativeFSLockFactory.NativeFSLockprivate static classNoLockFactory.NoLock(package private) static classSimpleFSLockFactory.SimpleFSLockprivate classSingleInstanceLockFactory.SingleInstanceLockprivate classVerifyingLockFactory.CheckedLockFields in org.apache.lucene.store declared as Lock Modifier and Type Field Description private LockVerifyingLockFactory.CheckedLock. lockprivate LockLockValidatingDirectoryWrapper. writeLockMethods in org.apache.lucene.store that return Lock Modifier and Type Method Description protected abstract LockFSLockFactory. obtainFSLock(FSDirectory dir, java.lang.String lockName)Implement this method to obtain a lock for a FSDirectory instance.protected LockNativeFSLockFactory. obtainFSLock(FSDirectory dir, java.lang.String lockName)protected LockSimpleFSLockFactory. obtainFSLock(FSDirectory dir, java.lang.String lockName)LockBaseDirectory. obtainLock(java.lang.String name)abstract LockDirectory. obtainLock(java.lang.String name)Acquires and returns aLockfor a file with the given name.LockFileSwitchDirectory. obtainLock(java.lang.String name)LockFilterDirectory. obtainLock(java.lang.String name)LockFSLockFactory. obtainLock(Directory dir, java.lang.String lockName)abstract LockLockFactory. obtainLock(Directory dir, java.lang.String lockName)Return a new obtained Lock instance identified by lockName.LockNoLockFactory. obtainLock(Directory dir, java.lang.String lockName)LockSingleInstanceLockFactory. obtainLock(Directory dir, java.lang.String lockName)LockSleepingLockWrapper. obtainLock(java.lang.String lockName)LockVerifyingLockFactory. obtainLock(Directory dir, java.lang.String lockName)Constructors in org.apache.lucene.store with parameters of type Lock Constructor Description CheckedLock(Lock lock)LockValidatingDirectoryWrapper(Directory in, Lock writeLock)
-