public class MMapDirectoryFactory extends CachingDirectoryFactory
FSDirectory.open(java.io.File)
Can set the following parameters:
MMapDirectory.setUseUnmap(boolean)MMapDirectory.setMaxChunkSize(int)CachingDirectoryFactory.CloseListenerbyDirectoryCache, 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, releasepublic void init(NamedList args)
init in interface NamedListInitializedPlugininit in class CachingDirectoryFactoryprotected Directory create(String path) throws IOException
DirectoryFactorycreate in class CachingDirectoryFactoryIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.