Package org.apache.solr.core
Class NIOFSDirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
org.apache.solr.core.CachingDirectoryFactory
org.apache.solr.core.StandardDirectoryFactory
org.apache.solr.core.NIOFSDirectoryFactory
- All Implemented Interfaces:
Closeable,AutoCloseable,NamedListInitializedPlugin
Factory to instantiate
NIOFSDirectory-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.core.CachingDirectoryFactory
CachingDirectoryFactory.CacheValue, CachingDirectoryFactory.CloseListener, CachingDirectoryFactory.ReleasableDirectoryNested classes/interfaces inherited from class org.apache.solr.core.DirectoryFactory
DirectoryFactory.DirContext -
Field Summary
Fields inherited from class org.apache.solr.core.CachingDirectoryFactory
byDirectoryCache, byPathCache, closeListeners, removeEntriesFields inherited from class org.apache.solr.core.DirectoryFactory
coreContainer, dataHomePath, INDEX_W_TIMESTAMP_REGEX, IOCONTEXT_NO_CACHE, LOCK_TYPE_NATIVE, LOCK_TYPE_NONE, LOCK_TYPE_SIMPLE, LOCK_TYPE_SINGLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.solr.core.StandardDirectoryFactory
createLockFactory, isPersistent, move, normalize, removeDirectory, renameWithOverwriteMethods inherited from class org.apache.solr.core.CachingDirectoryFactory
addCloseListener, close, deleteOldIndexDirectory, doneWithDirectory, exists, filterDirectory, get, getLivePaths, getPath, incRef, init, release, remove, remove, remove, remove, stripTrailingSlashMethods inherited from class org.apache.solr.core.DirectoryFactory
cleanupOldIndexDirectories, empty, getBaseDir, getDataHome, initCoreContainer, isAbsolute, isSharedStorage, newDefaultUpdateLog, searchersReserveCommitPoints, size, size, sizeOf, sizeOfDirectory
-
Constructor Details
-
NIOFSDirectoryFactory
public NIOFSDirectoryFactory()
-
-
Method Details
-
create
protected org.apache.lucene.store.Directory create(String path, org.apache.lucene.store.LockFactory lockFactory) throws IOException Description copied from class:DirectoryFactoryCreates a new Directory for a given path.- Overrides:
createin classStandardDirectoryFactory- Throws:
IOException- If there is a low-level I/O error.
-