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 Lock
CompoundDirectory. 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 Lock
CheckIndex. writeLock
private Lock
IndexWriter. writeLock
Methods 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 class
NativeFSLockFactory.NativeFSLock
private static class
NoLockFactory.NoLock
(package private) static class
SimpleFSLockFactory.SimpleFSLock
private class
SingleInstanceLockFactory.SingleInstanceLock
private class
VerifyingLockFactory.CheckedLock
Fields in org.apache.lucene.store declared as Lock Modifier and Type Field Description private Lock
VerifyingLockFactory.CheckedLock. lock
private Lock
LockValidatingDirectoryWrapper. writeLock
Methods in org.apache.lucene.store that return Lock Modifier and Type Method Description protected abstract Lock
FSLockFactory. obtainFSLock(FSDirectory dir, java.lang.String lockName)
Implement this method to obtain a lock for a FSDirectory instance.protected Lock
NativeFSLockFactory. obtainFSLock(FSDirectory dir, java.lang.String lockName)
protected Lock
SimpleFSLockFactory. obtainFSLock(FSDirectory dir, java.lang.String lockName)
Lock
BaseDirectory. obtainLock(java.lang.String name)
abstract Lock
Directory. obtainLock(java.lang.String name)
Acquires and returns aLock
for a file with the given name.Lock
FileSwitchDirectory. obtainLock(java.lang.String name)
Lock
FilterDirectory. obtainLock(java.lang.String name)
Lock
FSLockFactory. obtainLock(Directory dir, java.lang.String lockName)
abstract Lock
LockFactory. obtainLock(Directory dir, java.lang.String lockName)
Return a new obtained Lock instance identified by lockName.Lock
NoLockFactory. obtainLock(Directory dir, java.lang.String lockName)
Lock
SingleInstanceLockFactory. obtainLock(Directory dir, java.lang.String lockName)
Lock
SleepingLockWrapper. obtainLock(java.lang.String lockName)
Lock
VerifyingLockFactory. 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)
-