public abstract class BufferedDataCacheObject extends DataCacheObject
CACHE_BUSY, CACHE_COMPLETE, CACHE_EMPTY, CACHE_ERROR
_attributes, _lsid, _name, _semanticTypes
Constructor and Description |
---|
BufferedDataCacheObject() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Returns the data as a byte array
|
void |
setData(byte[] aData)
Sets the data into the cache item
|
addListener, clear, doWork, getAbsoluteFileName, getBaseFileName, getCreatedDate, getDataInputStream, getFile, getObject, getResourceName, getStatus, isBusy, isEmpty, isError, isReady, notifyListeners, refresh, removeAllListeners, removeListener, reset, run, setAbsoluteFileName, setBaseFileName, setCreatedDate, setResourceName, start, stop, toString
addAttribute, getAttribute, getAttributeNames, getLSID, getName, getSemanticTypes, objectAdded, objectPurged, objectRemoved, removeAttribute, setLSID, setName, setSemanticTypes
public BufferedDataCacheObject()
public void setData(byte[] aData)
aData
- the new data byte arraypublic byte[] getData() throws CacheException
CacheException