public interface FileCacheIF
| Modifier and Type | Method and Description |
|---|---|
FileCacheable |
acquire(FileFactory factory,
DatasetUrl location) |
FileCacheable |
acquire(FileFactory factory,
Object hashKey,
DatasetUrl location,
int buffer_size,
CancelTask cancelTask,
Object spiObject) |
void |
clearCache(boolean force) |
void |
disable() |
void |
eject(Object hashKey) |
void |
enable() |
boolean |
release(FileCacheable ncfile) |
void |
resetTracking() |
List<String> |
showCache() |
void |
showCache(Formatter format) |
void |
showStats(Formatter format) |
void |
showTracking(Formatter format) |
void enable()
void disable()
FileCacheable acquire(FileFactory factory, DatasetUrl location) throws IOException
IOExceptionFileCacheable acquire(FileFactory factory, Object hashKey, DatasetUrl location, int buffer_size, CancelTask cancelTask, Object spiObject) throws IOException
IOExceptionboolean release(FileCacheable ncfile) throws IOException
IOExceptionvoid eject(Object hashKey)
void clearCache(boolean force)
void resetTracking()
void showTracking(Formatter format)
void showCache(Formatter format)
void showStats(Formatter format)