|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CacheDirectory | |
---|---|
org.apache.blur.store.blockcache_v2 |
Uses of CacheDirectory in org.apache.blur.store.blockcache_v2 |
---|
Methods in org.apache.blur.store.blockcache_v2 with parameters of type CacheDirectory | |
---|---|
boolean |
FileNameFilter.accept(CacheDirectory directory,
String fileName)
|
abstract boolean |
Cache.cacheFileForReading(CacheDirectory directory,
String fileName,
org.apache.lucene.store.IOContext context)
Checks whether file should be cached or not during reading. |
boolean |
BaseCache.cacheFileForReading(CacheDirectory directory,
String fileName,
org.apache.lucene.store.IOContext context)
|
abstract boolean |
Cache.cacheFileForWriting(CacheDirectory directory,
String fileName,
org.apache.lucene.store.IOContext context)
Checks whether file should be cached or not during writing. |
boolean |
BaseCache.cacheFileForWriting(CacheDirectory directory,
String fileName,
org.apache.lucene.store.IOContext context)
|
abstract void |
Cache.fileClosedForWriting(CacheDirectory directory,
String fileName,
long fileId)
The cache internals rely on the last modified timestamp of a given file to know if the file is the same or not. |
void |
BaseCache.fileClosedForWriting(CacheDirectory directory,
String fileName,
long fileId)
|
abstract int |
Cache.getCacheBlockSize(CacheDirectory directory,
String fileName)
Get capacity of each cache entry for the given file. |
int |
BaseCache.getCacheBlockSize(CacheDirectory directory,
String fileName)
|
abstract int |
Cache.getFileBufferSize(CacheDirectory directory,
String fileName)
Gets buffer size of the buffer used while interacting with the underlying directory. |
int |
BaseCache.getFileBufferSize(CacheDirectory directory,
String fileName)
|
abstract long |
Cache.getFileId(CacheDirectory directory,
String fileName)
Gets unique id for the given file. |
long |
BaseCache.getFileId(CacheDirectory directory,
String fileName)
|
int |
Size.getSize(CacheDirectory directory,
String fileName)
|
CacheValue |
Cache.newInstance(CacheDirectory directory,
String fileName)
Creates a new instance of CacheValue, the cache capacity should be used for the given file. |
abstract CacheValue |
Cache.newInstance(CacheDirectory directory,
String fileName,
int cacheBlockSize)
Creates a new instance of CacheValue, the cache capacity should be used for the given file. |
CacheValue |
BaseCache.newInstance(CacheDirectory directory,
String fileName,
int cacheBlockSize)
|
abstract void |
Cache.removeFile(CacheDirectory directory,
String fileName)
Removes the file from the cache. |
void |
BaseCache.removeFile(CacheDirectory directory,
String fileName)
|
boolean |
Quiet.shouldBeQuiet(CacheDirectory directory,
String fileName)
|
abstract boolean |
Cache.shouldBeQuiet(CacheDirectory directory,
String fileName)
Determines if the reader should be quiet or not. |
boolean |
BaseCache.shouldBeQuiet(CacheDirectory directory,
String fileName)
|
Constructors in org.apache.blur.store.blockcache_v2 with parameters of type CacheDirectory | |
---|---|
CacheIndexInput(CacheDirectory directory,
String fileName,
org.apache.lucene.store.IndexInput indexInput,
Cache cache)
|
|
CacheIndexOutput(CacheDirectory directory,
String fileName,
org.apache.lucene.store.IndexOutput indexOutput,
Cache cache)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |