|
XNIO version 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of buffer that is managed by this allocatorpublic interface BufferAllocator<T extends Buffer>
An allocator for buffers.
Method Summary | |
---|---|
T |
allocate()
Allocate a buffer. |
void |
free(T buffer)
Free a previously allocated buffer. |
Method Detail |
---|
T allocate()
null
.
null
if none are availablevoid free(T buffer)
buffer
- the buffer to free
|
XNIO version 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |