|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LockFactory | |
---|---|
org.apache.lucene.store | Binary i/o API, used for all index data. |
Uses of LockFactory in org.apache.lucene.store |
---|
Subclasses of LockFactory in org.apache.lucene.store | |
---|---|
class |
FSLockFactory
Base class for file system based locking implementation. |
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). |
Fields in org.apache.lucene.store declared as LockFactory | |
---|---|
protected LockFactory |
BaseDirectory.lockFactory
Holds the LockFactory instance (implements locking for this Directory instance). |
Methods in org.apache.lucene.store that return LockFactory | |
---|---|
abstract LockFactory |
Directory.getLockFactory()
Get the LockFactory that this Directory instance is using for its locking implementation. |
LockFactory |
NRTCachingDirectory.getLockFactory()
|
LockFactory |
FilterDirectory.getLockFactory()
|
LockFactory |
BaseDirectory.getLockFactory()
|
Methods in org.apache.lucene.store with parameters of type LockFactory | |
---|---|
static FSDirectory |
FSDirectory.open(File path,
LockFactory lockFactory)
Just like FSDirectory.open(File) , but allows you to
also specify a custom LockFactory . |
abstract void |
Directory.setLockFactory(LockFactory lockFactory)
Set the LockFactory that this Directory instance should use for its locking implementation. |
void |
NRTCachingDirectory.setLockFactory(LockFactory lf)
|
void |
FilterDirectory.setLockFactory(LockFactory lockFactory)
|
void |
BaseDirectory.setLockFactory(LockFactory lockFactory)
|
void |
FSDirectory.setLockFactory(LockFactory lockFactory)
|
Constructors in org.apache.lucene.store with parameters of type LockFactory | |
---|---|
FSDirectory(File path,
LockFactory lockFactory)
Create a new FSDirectory for the named location (ctor for subclasses). |
|
MMapDirectory(File path,
LockFactory lockFactory)
Create a new MMapDirectory for the named location. |
|
MMapDirectory(File path,
LockFactory lockFactory,
int maxChunkSize)
Create a new MMapDirectory for the named location, specifying the maximum chunk size used for memory mapping. |
|
NIOFSDirectory(File path,
LockFactory lockFactory)
Create a new NIOFSDirectory for the named location. |
|
SimpleFSDirectory(File path,
LockFactory lockFactory)
Create a new SimpleFSDirectory for the named location. |
|
VerifyingLockFactory(byte id,
LockFactory lf,
String host,
int port)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |