|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageBuffer
Represents a collection of MessageQueue instances which are all bound by the same memory buffer to fix the amount of RAM used to some uppper bound.
Method Summary | |
---|---|
void |
clear()
|
MessageQueue |
createMessageQueue()
Creates a new message queue instance |
int |
getSize()
|
void |
onSizeChanged(MessageQueue queue,
int delta,
int queueSize)
After a message queue has changed we may need to perform some evictions |
Method Detail |
---|
int getSize()
MessageQueue createMessageQueue()
void onSizeChanged(MessageQueue queue, int delta, int queueSize)
delta
- queueSize
- void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |