|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICacheable
Base interface for objects that can be made cacheable.
ICacheStore
Method Summary | |
---|---|
IoBuffer |
getByteBuffer()
Returns a readonly byte buffer. |
byte[] |
getBytes()
Returns the object contained within the cacheable reference. |
String |
getName()
Returns the name of the cached object. |
boolean |
isCached()
Returns true if the object is cached, false
otherwise. |
void |
setCached(boolean cached)
Sets a flag to represent the cached status of a cacheable object. |
void |
setName(String name)
Set the name of the cached object. |
Method Detail |
---|
boolean isCached()
true
if the object is cached, false
otherwise.
true
if object is cached, false
otherwisevoid setCached(boolean cached)
cached
- true
if object is cached, false
otherwiseString getName()
void setName(String name)
name
- New object namebyte[] getBytes()
IoBuffer getByteBuffer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |