|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BufferProvider
A provider for NIO buffers. This class wraps buffer management functionality. The instances of this interface are expected to be used from within single vat. If the instance should be returned to the provier on the same turn where it has been got.
Method Summary | |
---|---|
ByteBuffer |
getByteBuffer()
|
CharBuffer |
getCharBuffer()
|
void |
returnByteBuffer(ByteBuffer buffer)
Return the buffer |
void |
returnCharBuffer(CharBuffer buffer)
Return the buffer |
Method Detail |
---|
ByteBuffer getByteBuffer()
void returnByteBuffer(ByteBuffer buffer)
buffer
- a buffer recieved with getByteBuffer()
CharBuffer getCharBuffer()
void returnCharBuffer(CharBuffer buffer)
buffer
- a buffer recieved with getCharBuffer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |