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.
|
Modifier and Type | Method and Description |
---|---|
Lock |
CompoundDirectory.obtainLock(String name) |
Constructor and Description |
---|
CheckIndex(Directory dir,
Lock writeLock)
Expert: create a directory with the specified lock.
|
Modifier and Type | Method and Description |
---|---|
protected Lock |
SimpleFSLockFactory.obtainFSLock(FSDirectory dir,
String lockName) |
protected abstract Lock |
FSLockFactory.obtainFSLock(FSDirectory dir,
String lockName)
Implement this method to obtain a lock for a FSDirectory instance.
|
protected Lock |
NativeFSLockFactory.obtainFSLock(FSDirectory dir,
String lockName) |
Lock |
VerifyingLockFactory.obtainLock(Directory dir,
String lockName) |
Lock |
NoLockFactory.obtainLock(Directory dir,
String lockName) |
Lock |
SingleInstanceLockFactory.obtainLock(Directory dir,
String lockName) |
abstract Lock |
LockFactory.obtainLock(Directory dir,
String lockName)
Return a new obtained Lock instance identified by lockName.
|
Lock |
FSLockFactory.obtainLock(Directory dir,
String lockName) |
Lock |
BaseDirectory.obtainLock(String name) |
Lock |
SleepingLockWrapper.obtainLock(String lockName) |
Lock |
FileSwitchDirectory.obtainLock(String name) |
abstract Lock |
Directory.obtainLock(String name)
Acquires and returns a
Lock for a file with the given name. |
Lock |
FilterDirectory.obtainLock(String name) |
Constructor and Description |
---|
LockValidatingDirectoryWrapper(Directory in,
Lock writeLock) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.