public class MockDirectoryFactory
extends org.apache.solr.core.EphemeralDirectoryFactory
LuceneTestCase.newDirectory()| Modifier and Type | Field and Description |
|---|---|
static String |
SOLR_TESTS_ALLOW_READING_FILES_STILL_OPEN_FOR_WRITE |
| Constructor and Description |
|---|
MockDirectoryFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.lucene.store.Directory |
create(String path,
org.apache.solr.core.DirectoryFactory.DirContext dirContext) |
boolean |
isAbsolute(String path) |
exists, isPersistent, remove, removeaddCloseListener, close, doneWithDirectory, get, getLivePaths, incRef, init, normalize, release, remove, remove, removeDirectory, stripTrailingSlashpublic static final String SOLR_TESTS_ALLOW_READING_FILES_STILL_OPEN_FOR_WRITE
protected org.apache.lucene.store.Directory create(String path, org.apache.solr.core.DirectoryFactory.DirContext dirContext) throws IOException
create in class org.apache.solr.core.CachingDirectoryFactoryIOExceptionpublic boolean isAbsolute(String path)
isAbsolute in class org.apache.solr.core.EphemeralDirectoryFactoryCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.