| Class | Description |
|---|---|
| BufferedIndexInput |
Base implementation class for buffered
IndexInput. |
| BufferedIndexOutput |
Base implementation class for buffered
IndexOutput. |
| ChecksumIndexInput |
Writes bytes through to a primary IndexOutput, computing
checksum as it goes.
|
| ChecksumIndexOutput |
Writes bytes through to a primary IndexOutput, computing
checksum.
|
| Directory |
A Directory is a flat list of files.
|
| FSDirectory |
Straightforward implementation of
Directory as a directory of files. |
| FSDirectory.FSIndexInput | |
| FSDirectory.FSIndexInput.Descriptor | |
| FSDirectory.FSIndexOutput | |
| IndexInput |
Abstract base class for input from a file in a
Directory. |
| IndexOutput |
Abstract base class for output to a file in a Directory.
|
| Lock |
An interprocess mutex lock.
|
| Lock.With |
Utility class for executing code with exclusive access.
|
| LockFactory |
Base class for Locking implementation.
|
| LockStressTest |
Simple standalone tool that forever acquires & releases a
lock using a specific LockFactory.
|
| LockVerifyServer |
Simple standalone server that must be running when you
use
VerifyingLockFactory. |
| MMapDirectory |
File-based
Directory implementation that uses mmap for input. |
| NativeFSLockFactory |
Implements
LockFactory using native OS file
locks. |
| NIOFSDirectory |
NIO version of FSDirectory.
|
| NoLockFactory |
Use this
LockFactory to disable locking entirely. |
| RAMDirectory |
A memory-resident
Directory implementation. |
| RAMOutputStream |
A memory-resident
IndexOutput implementation. |
| SimpleFSLockFactory |
Implements
LockFactory using File.createNewFile(). |
| SingleInstanceLockFactory |
Implements
LockFactory for a single in-process instance,
meaning all locking will take place through this one instance. |
| 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). |
| Exception | Description |
|---|---|
| AlreadyClosedException |
This exception is thrown when there is an attempt to
access something that has already been closed.
|
| LockObtainFailedException |
This exception is thrown when the
write.lock
could not be acquired. |
| LockReleaseFailedException |
This exception is thrown when the
write.lock
could not be released. |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.