public class NRTCachingDirectoryFactory extends StandardDirectoryFactory
NRTCachingDirectoryCachingDirectoryFactory.CacheValue, CachingDirectoryFactory.CloseListenerDirectoryFactory.DirContext| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_CACHED_MB |
static int |
DEFAULT_MAX_MERGE_SIZE_MB |
byDirectoryCache, byPathCache, closeListeners, removeEntriesIOCONTEXT_NO_CACHE| Constructor and Description |
|---|
NRTCachingDirectoryFactory() |
| 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) |
boolean |
isAbsolute(String path) |
exists, isPersistent, move, normalize, removeDirectoryaddCloseListener, close, doneWithDirectory, get, getLivePaths, incRef, release, remove, remove, remove, remove, stripTrailingSlashempty, getDataHome, isSharedStorage, searchersReserveCommitPoints, sizeOf, sizeOfDirectorypublic static final int DEFAULT_MAX_MERGE_SIZE_MB
public static final int DEFAULT_MAX_CACHED_MB
public void init(NamedList args)
init in interface NamedListInitializedPlugininit in class CachingDirectoryFactoryprotected Directory create(String path, DirectoryFactory.DirContext dirContext) throws IOException
DirectoryFactorycreate in class StandardDirectoryFactoryIOException - If there is a low-level I/O error.public boolean isAbsolute(String path)
isAbsolute in class StandardDirectoryFactorypath - the path to checkCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.