Interface JavaReadCache
- All Known Implementing Classes:
DummyCache
,JavaReadCacheImpl
public interface JavaReadCache
-
Method Summary
-
Method Details
-
read
Returns an input stream for the data cached with the providedkey
. It is the responsibility of the caller to close the stream. -
readBytes
- Returns:
- the array of bytes stored for the given key, if any.
null
otherwise.
-
contains
Checks whether the cache contains the providedkey
.
-