Package com.adobe.granite.httpcache.api
Interface CacheStore
Deprecated.
This API is not supported anymore.
Creates, manages and deletes cache files.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Create a new cache file.booleanDeprecated.Evict some cache file.voidDeprecated.Evict all cache files starting with a given path.Deprecated.Lookup an existing cache file.
-
Method Details
-
create
Deprecated.Create a new cache file.- Parameters:
key- cache keyheaders- response headers- Returns:
- new cache file
- Throws:
IOException- if an I/O error occurs
-
lookup
Deprecated.Lookup an existing cache file.- Parameters:
key- cache key- Returns:
- existing cache file or
null
-
evict
Deprecated.Evict some cache file.- Parameters:
key- cache key- Returns:
trueif some file was evicted;falseotherwise
-
evictAll
Deprecated.Evict all cache files starting with a given path.- Parameters:
host- hostnamepath- path prefix
-