public abstract class EphemeralDirectoryFactory extends CachingDirectoryFactory
CachingDirectoryFactory.CacheValue, CachingDirectoryFactory.CloseListenerDirectoryFactory.DirContextbyDirectoryCache, byPathCache, closeListeners, removeEntriesIOCONTEXT_NO_CACHE| Constructor and Description |
|---|
EphemeralDirectoryFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String path)
Returns true if a Directory exists for a given path.
|
boolean |
isAbsolute(String path) |
boolean |
isPersistent() |
void |
remove(Directory dir)
Removes the Directory's persistent storage.
|
void |
remove(String path)
This remove is special in that it may be called even after
the factory has been closed.
|
addCloseListener, close, create, doneWithDirectory, get, getLivePaths, incRef, init, normalize, release, remove, remove, removeDirectory, stripTrailingSlashempty, getDataHome, isSharedStorage, move, searchersReserveCommitPoints, sizeOf, sizeOfDirectorypublic boolean exists(String path) throws IOException
DirectoryFactoryexists in class CachingDirectoryFactoryIOException - If there is a low-level I/O error.public boolean isPersistent()
isPersistent in class DirectoryFactorypublic boolean isAbsolute(String path)
isAbsolute in class DirectoryFactorypath - the path to checkpublic void remove(Directory dir) throws IOException
DirectoryFactoryremove in class CachingDirectoryFactoryIOException - If there is a low-level I/O error.public void remove(String path) throws IOException
DirectoryFactoryremove in class CachingDirectoryFactorypath - to removeIOException - If there is a low-level I/O error.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.