public interface HttpCacheStore
| Modifier and Type | Method and Description |
|---|---|
HttpCacheRecord |
cacheRecord(java.lang.String cacheKey)
Returns ResponseCacheRecord for the entry named cacheKey or null if it doesn't exist or is not currently readable.
|
HttpCacheRecordEditor |
cacheRecordEditor(java.lang.String cacheKey)
Returns an editor for the entry named cacheKey or null if another edit is in progress.
|
void |
delete()
Closes the cache and deletes all of its stored values.
|
void |
remove(java.lang.String cacheKey)
Drops the entry for key if it exists and can be removed.
|
@Nullable HttpCacheRecord cacheRecord(@Nonnull java.lang.String cacheKey) throws java.io.IOException
cacheKey - the name of the entryjava.io.IOException@Nullable HttpCacheRecordEditor cacheRecordEditor(@Nonnull java.lang.String cacheKey) throws java.io.IOException
cacheKey - the entry to edit.HttpCacheRecordEditor to use for editing the entryjava.io.IOExceptionvoid remove(@Nonnull
java.lang.String cacheKey)
throws java.io.IOException
java.io.IOExceptionvoid delete()
throws java.io.IOException
java.io.IOException