public interface ICacheable
ICacheStore| Modifier and Type | Method and Description |
|---|---|
org.apache.mina.core.buffer.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()
org.apache.mina.core.buffer.IoBuffer getByteBuffer()
Copyright © 2005–2017 Red5. All rights reserved.