Package | Description |
---|---|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
Modifier and Type | Class and Description |
---|---|
class |
NativeFSLockFactory
Implements
LockFactory using native OS file
locks. |
class |
NoLockFactory
Use this
LockFactory to disable locking entirely. |
class |
SimpleFSLockFactory
Implements
LockFactory using File.createNewFile() . |
class |
SingleInstanceLockFactory
Implements
LockFactory for a single in-process instance,
meaning all locking will take place through this one instance. |
class |
VerifyingLockFactory
A
LockFactory that wraps another LockFactory and verifies that each lock obtain/release
is "correct" (never results in two processes holding the
lock at the same time). |
Modifier and Type | Field and Description |
---|---|
protected LockFactory |
Directory.lockFactory
Holds the LockFactory instance (implements locking for
this Directory instance).
|
Modifier and Type | Method and Description |
---|---|
LockFactory |
Directory.getLockFactory()
Get the LockFactory that this Directory instance is
using for its locking implementation.
|
Modifier and Type | Method and Description |
---|---|
static FSDirectory |
FSDirectory.getDirectory(java.io.File file,
LockFactory lockFactory)
Returns the directory instance for the named location.
|
static FSDirectory |
FSDirectory.getDirectory(java.lang.String path,
LockFactory lockFactory)
Returns the directory instance for the named location.
|
void |
Directory.setLockFactory(LockFactory lockFactory)
Set the LockFactory that this Directory instance should
use for its locking implementation.
|
Constructor and Description |
---|
VerifyingLockFactory(byte id,
LockFactory lf,
java.lang.String host,
int port) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.