org.apache.solr.core
Class RAMDirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
org.apache.solr.core.CachingDirectoryFactory
org.apache.solr.core.EphemeralDirectoryFactory
org.apache.solr.core.RAMDirectoryFactory
- All Implemented Interfaces:
- Closeable, NamedListInitializedPlugin
public class RAMDirectoryFactory
- extends EphemeralDirectoryFactory
Factory to instantiate RAMDirectory
Methods inherited from class org.apache.solr.core.CachingDirectoryFactory |
addCloseListener, close, doneWithDirectory, get, get, getPaths, incRef, init, normalize, release, remove, remove, remove, remove, removeDirectory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RAMDirectoryFactory
public RAMDirectoryFactory()
create
protected Directory create(String path,
DirectoryFactory.DirContext dirContext)
throws IOException
- Description copied from class:
DirectoryFactory
- Creates a new Directory for a given path.
- Specified by:
create
in class CachingDirectoryFactory
- Throws:
IOException
- If there is a low-level I/O error.
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.