Class CacheableBlob
java.lang.Object
org.deltava.util.cache.CacheableBlob
- All Implemented Interfaces:
Serializable
,Cacheable
-
Constructor Summary
Constructors -
Method Summary
-
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
-
size
public int size()Returns the size of the object.- Returns:
- the size in bytes
-
cacheKey
-