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