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
 
 public class NIOFSDirectoryFactory extends StandardDirectoryFactory Factory to instantiateNIOFSDirectory
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.solr.core.CachingDirectoryFactoryCachingDirectoryFactory.CacheValue, CachingDirectoryFactory.CloseListener
 - 
Nested classes/interfaces inherited from class org.apache.solr.core.DirectoryFactoryDirectoryFactory.DirContext
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.solr.core.CachingDirectoryFactorybyDirectoryCache, byPathCache, closeListeners, removeEntries
 - 
Fields inherited from class org.apache.solr.core.DirectoryFactorycoreContainer, dataHomePath, INDEX_W_TIMESTAMP_REGEX, IOCONTEXT_NO_CACHE, LOCK_TYPE_NATIVE, LOCK_TYPE_NONE, LOCK_TYPE_SIMPLE, LOCK_TYPE_SINGLE
 
- 
 - 
Constructor SummaryConstructors Constructor Description NIOFSDirectoryFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.lucene.store.Directorycreate(String path, org.apache.lucene.store.LockFactory lockFactory, DirectoryFactory.DirContext dirContext)Creates a new Directory for a given path.- 
Methods inherited from class org.apache.solr.core.StandardDirectoryFactorycreateLockFactory, isPersistent, move, normalize, removeDirectory, renameWithOverwrite
 - 
Methods inherited from class org.apache.solr.core.CachingDirectoryFactoryaddCloseListener, close, deleteOldIndexDirectory, doneWithDirectory, exists, get, getLivePaths, getPath, incRef, init, release, remove, remove, remove, remove, stripTrailingSlash
 - 
Methods inherited from class org.apache.solr.core.DirectoryFactorycleanupOldIndexDirectories, empty, getBaseDir, getDataHome, initCoreContainer, isAbsolute, isSharedStorage, newDefaultUpdateLog, searchersReserveCommitPoints, size, size, sizeOf, sizeOfDirectory
 
- 
 
- 
- 
- 
Method Detail- 
createprotected org.apache.lucene.store.Directory create(String path, org.apache.lucene.store.LockFactory lockFactory, DirectoryFactory.DirContext dirContext) throws IOException Description copied from class:DirectoryFactoryCreates a new Directory for a given path.- Overrides:
- createin class- StandardDirectoryFactory
- Throws:
- IOException- If there is a low-level I/O error.
 
 
- 
 
-