Uses of Class org.apache.lucene.store.LockFactory (Lucene 2.4.1 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.lucene.store.LockFactory

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` | `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` | `Directory.lockFactory` Holds the LockFactory instance (implements locking for this Directory instance).

Methods in org.apache.lucene.store that return LockFactory
`LockFactory` | `Directory.getLockFactory()` Get the LockFactory that this Directory instance is using for its locking implementation.

Methods in org.apache.lucene.store with parameters of type LockFactory
`static FSDirectory` | `FSDirectory.getDirectory(File file, LockFactory lockFactory)` Returns the directory instance for the named location.
`static FSDirectory` | `FSDirectory.getDirectory(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.

Constructors in org.apache.lucene.store with parameters of type LockFactory
`VerifyingLockFactory(byte id, LockFactory lf, String host, int port)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.