public class MMapDirectoryFactory extends CachingDirectoryFactory
FSDirectory.open(java.io.File)
Can set the following parameters:
MMapDirectory.setUseUnmap(boolean)
MMapDirectory.MMapDirectory(File, LockFactory, int)
CachingDirectoryFactory.CacheValue, CachingDirectoryFactory.CloseListener
byDirectoryCache, byPathCache, closeListeners
Constructor and Description |
---|
MMapDirectoryFactory() |
Modifier and Type | Method and Description |
---|---|
protected Directory |
create(String path)
Creates a new Directory for a given path.
|
void |
init(NamedList args) |
addCloseListener, close, doneWithDirectory, exists, get, get, incRef, release
public void init(NamedList args)
init
in interface NamedListInitializedPlugin
init
in class CachingDirectoryFactory
protected Directory create(String path) throws IOException
DirectoryFactory
create
in class CachingDirectoryFactory
IOException
- If there is a low-level I/O error.Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.