NOTE: Accessing this class either directly or indirectly from a thread while it's interrupted can close the underlying file descriptor immediately if at the same time the thread is blocked on IO. The file descriptor will remain closed and subsequent access to {@link NIOFSDirectory} will throw a {@link ClosedChannelException}. If your application uses either {@link Thread#interrupt()} orFuture#cancel(boolean)
(on Java 1.5) you should use {@link SimpleFSDirectory} in favor of {@link NIOFSDirectory}.
|
|
|
|
|
|
|
|