public class RAMDirectoryFactory extends EphemeralDirectoryFactory
RAMDirectory
CachingDirectoryFactory.CacheValue, CachingDirectoryFactory.CloseListener
DirectoryFactory.DirContext
byDirectoryCache, byPathCache, closeListeners
IOCONTEXT_NO_CACHE
Constructor and Description |
---|
RAMDirectoryFactory() |
Modifier and Type | Method and Description |
---|---|
protected Directory |
create(String path,
DirectoryFactory.DirContext dirContext)
Creates a new Directory for a given path.
|
exists, isPersistent, normalize, remove, remove
addCloseListener, close, doneWithDirectory, get, get, incRef, init, release
empty, move, sizeOf, sizeOfDirectory
protected Directory create(String path, DirectoryFactory.DirContext dirContext) throws IOException
DirectoryFactory
create
in class CachingDirectoryFactory
IOException
- If there is a low-level I/O error.Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.