org.apache.solr.core
Class RAMDirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
org.apache.solr.core.CachingDirectoryFactory
org.apache.solr.core.StandardDirectoryFactory
org.apache.solr.core.RAMDirectoryFactory
- All Implemented Interfaces:
- Closeable, NamedListInitializedPlugin
public class RAMDirectoryFactory
- extends StandardDirectoryFactory
Factory to instantiate RAMDirectory
Method Summary |
protected Directory |
create(String path)
Creates a new Directory for a given path. |
boolean |
exists(String path)
Returns true if a Directory exists for a given path. |
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)
throws IOException
- Description copied from class:
DirectoryFactory
- Creates a new Directory for a given path.
- Overrides:
create
in class StandardDirectoryFactory
- Throws:
IOException
exists
public boolean exists(String path)
- Description copied from class:
DirectoryFactory
- Returns true if a Directory exists for a given path.
- Overrides:
exists
in class CachingDirectoryFactory
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.