public class FileCacheService
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FileCacheService.CacheKey |
Modifier and Type | Field and Description |
---|---|
static FileCacheService |
instance |
Modifier | Constructor and Description |
---|---|
protected |
FileCacheService() |
Modifier and Type | Method and Description |
---|---|
RandomAccessReader |
get(FileCacheService.CacheKey key) |
void |
invalidate(FileCacheService.CacheKey cacheKey,
java.lang.String path) |
void |
put(FileCacheService.CacheKey cacheKey,
RandomAccessReader instance) |
long |
sizeInBytes() |
public static FileCacheService instance
public RandomAccessReader get(FileCacheService.CacheKey key)
public void put(FileCacheService.CacheKey cacheKey, RandomAccessReader instance)
public void invalidate(FileCacheService.CacheKey cacheKey, java.lang.String path)
public long sizeInBytes()
Copyright © 2017 The Apache Software Foundation