Package | Description |
---|---|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format. |
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 |
Lucene50CompoundReader.obtainLock(java.lang.String name) |
Modifier and Type | Field and Description |
---|---|
private Lock |
IndexWriter.writeLock |
private Lock |
CheckIndex.writeLock |
Modifier and Type | Method and Description |
---|---|
private java.util.List<Lock> |
IndexWriter.acquireWriteLocks(Directory... dirs)
Acquires write locks on all the directories; be sure
to match with a call to
IOUtils.close(java.io.Closeable...) in a
finally clause. |
Constructor and Description |
---|
CheckIndex(Directory dir,
Lock writeLock)
Expert: create a directory with the specified lock.
|
Modifier and Type | Class and 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 |
Modifier and Type | Field and Description |
---|---|
private Lock |
VerifyingLockFactory.CheckedLock.lock |
private Lock |
LockValidatingDirectoryWrapper.writeLock |
Modifier and Type | Method and Description |
---|---|
protected Lock |
NativeFSLockFactory.obtainFSLock(FSDirectory dir,
java.lang.String lockName) |
protected abstract Lock |
FSLockFactory.obtainFSLock(FSDirectory dir,
java.lang.String lockName)
Implement this method to obtain a lock for a FSDirectory instance.
|
protected Lock |
SimpleFSLockFactory.obtainFSLock(FSDirectory 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 |
FSLockFactory.obtainLock(Directory dir,
java.lang.String lockName) |
Lock |
VerifyingLockFactory.obtainLock(Directory dir,
java.lang.String lockName) |
abstract Lock |
Directory.obtainLock(java.lang.String name)
Acquires and returns a
Lock for a file with the given name. |
Lock |
BaseDirectory.obtainLock(java.lang.String name) |
Lock |
SleepingLockWrapper.obtainLock(java.lang.String lockName) |
Lock |
FileSwitchDirectory.obtainLock(java.lang.String name) |
Lock |
FilterDirectory.obtainLock(java.lang.String name) |
Constructor and Description |
---|
CheckedLock(Lock lock) |
LockValidatingDirectoryWrapper(Directory in,
Lock writeLock) |