Uses of Class
org.apache.lucene.store.Lock
Packages that use Lock
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Code to maintain and access indices.
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 -
Uses of Lock in org.apache.lucene.index
Constructors in org.apache.lucene.index with parameters of type LockModifierConstructorDescriptionCheckIndex(Directory dir, Lock writeLock) Expert: create a directory with the specified lock. -
Uses of Lock in org.apache.lucene.store
Methods in org.apache.lucene.store that return LockModifier and TypeMethodDescriptionprotected abstract LockFSLockFactory.obtainFSLock(FSDirectory dir, String lockName) Implement this method to obtain a lock for a FSDirectory instance.protected LockNativeFSLockFactory.obtainFSLock(FSDirectory dir, String lockName) protected LockSimpleFSLockFactory.obtainFSLock(FSDirectory dir, String lockName) final LockBaseDirectory.obtainLock(String name) abstract LockDirectory.obtainLock(String name) Acquires and returns aLockfor a file with the given name.FileSwitchDirectory.obtainLock(String name) FilterDirectory.obtainLock(String name) final LockFSLockFactory.obtainLock(Directory dir, String lockName) abstract LockLockFactory.obtainLock(Directory dir, String lockName) Return a new obtained Lock instance identified by lockName.NoLockFactory.obtainLock(Directory dir, String lockName) SingleInstanceLockFactory.obtainLock(Directory dir, String lockName) SleepingLockWrapper.obtainLock(String lockName) VerifyingLockFactory.obtainLock(Directory dir, String lockName) Constructors in org.apache.lucene.store with parameters of type Lock