public interface CacheObjectInterface
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String name,
java.lang.String value)
set a user configured attribute on the CacheObject
|
java.lang.String |
getAttribute(java.lang.String name)
get the attribute with the specified name
|
KeplerLSID |
getLSID()
get the lsid for this object
|
java.lang.String |
getName()
get the name of this object
|
java.lang.Object |
getObject()
return the java object associated with this CacheObject
|
void |
objectAdded()
call back for when this object is added to the cache
|
void |
objectPurged()
call back for when this object is purged by CacheManager
|
void |
objectRemoved()
call back for when this object is removed by CacheManager
|
void |
removeAttribute(java.lang.String name)
remove the attribute with the given name and return it.
|
void |
setLSID(KeplerLSID lsid)
set the lsid
|
void |
setName(java.lang.String name)
set the name
|
java.lang.String getName()
KeplerLSID getLSID()
void setLSID(KeplerLSID lsid)
void setName(java.lang.String name)
void addAttribute(java.lang.String name, java.lang.String value)
java.lang.String getAttribute(java.lang.String name)
void removeAttribute(java.lang.String name)
java.lang.Object getObject()
void objectAdded()
void objectRemoved()
void objectPurged()