Package org.deltava.util.cache
Class CacheableBlob
java.lang.Object
org.deltava.util.cache.CacheableBlob
- All Implemented Interfaces:
Serializable
,Cacheable
A class to make raw data cacheable.
- Since:
- 6.0
- Version:
- 6.0
- Author:
- Luke
- See Also:
-
Constructor Details
-
CacheableBlob
Creates the object.- Parameters:
key
- the cache keydata
- the data
-
-
Method Details
-
getData
public byte[] getData()Returns the data.- Returns:
- the data
-
getStream
-
cacheKey
-