org.apache.solr.core
Class MMapDirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
org.apache.solr.core.CachingDirectoryFactory
org.apache.solr.core.MMapDirectoryFactory
- All Implemented Interfaces:
- Closeable, NamedListInitializedPlugin
public class MMapDirectoryFactory
- extends CachingDirectoryFactory
Directly provide MMapDirectory instead of relying on FSDirectory.open(java.io.File)
Can set the following parameters:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MMapDirectoryFactory
public MMapDirectoryFactory()
init
public void init(NamedList args)
- Specified by:
init
in interface NamedListInitializedPlugin
- Overrides:
init
in class CachingDirectoryFactory
create
protected Directory create(String path)
throws IOException
- Description copied from class:
DirectoryFactory
- Creates a new Directory for a given path.
- Specified by:
create
in class CachingDirectoryFactory
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.