org.apache.solr.core
Class MockFSDirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
org.apache.solr.core.CachingDirectoryFactory
org.apache.solr.core.StandardDirectoryFactory
org.apache.solr.core.MockFSDirectoryFactory
- All Implemented Interfaces:
- Closeable, org.apache.solr.util.plugin.NamedListInitializedPlugin
public class MockFSDirectoryFactory
- extends org.apache.solr.core.StandardDirectoryFactory
Opens a directory with LuceneTestCase.newFSDirectory(File)
| Nested classes/interfaces inherited from class org.apache.solr.core.CachingDirectoryFactory |
org.apache.solr.core.CachingDirectoryFactory.CacheValue, org.apache.solr.core.CachingDirectoryFactory.CloseListener |
| Nested classes/interfaces inherited from class org.apache.solr.core.DirectoryFactory |
org.apache.solr.core.DirectoryFactory.DirContext |
| Fields inherited from class org.apache.solr.core.CachingDirectoryFactory |
byDirectoryCache, byPathCache, closeListeners |
| Fields inherited from class org.apache.solr.core.DirectoryFactory |
IOCONTEXT_NO_CACHE |
|
Method Summary |
org.apache.lucene.store.Directory |
create(String path,
org.apache.solr.core.DirectoryFactory.DirContext dirContext)
|
| Methods inherited from class org.apache.solr.core.StandardDirectoryFactory |
isPersistent, move, normalize, remove, remove |
| Methods inherited from class org.apache.solr.core.CachingDirectoryFactory |
addCloseListener, close, doneWithDirectory, exists, get, get, incRef, init, release |
| Methods inherited from class org.apache.solr.core.DirectoryFactory |
empty, sizeOf, sizeOfDirectory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockFSDirectoryFactory
public MockFSDirectoryFactory()
create
public org.apache.lucene.store.Directory create(String path,
org.apache.solr.core.DirectoryFactory.DirContext dirContext)
throws IOException
- Overrides:
create in class org.apache.solr.core.StandardDirectoryFactory
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.