@ProviderType public interface CacheStore
| Modifier and Type | Method and Description |
|---|---|
CacheFile |
create(String key,
Headers headers)
Create a new cache file.
|
boolean |
evict(String key)
Evict some cache file.
|
void |
evictAll(String host,
String path)
Evict all cache files starting with a given path.
|
CacheFile |
lookup(String key)
Lookup an existing cache file.
|
CacheFile create(String key, Headers headers) throws IOException
key - cache keyheaders - response headersIOException - if an I/O error occursCacheFile lookup(String key)
key - cache keynullboolean evict(String key)
key - cache keytrue if some file was evicted;
false otherwiseCopyright © 2010 - 2020 Adobe. All Rights Reserved