public interface ICacheable
ICacheStore
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2006-2012 The Red5 Project