AutoCloseable, CloseableDefaultByteBufferPool, XnioByteBufferPoolpublic interface ByteBufferPool extends Closeable
| Modifier and Type | Method | Description |
|---|---|---|
PooledByteBuffer |
allocate() |
|
void |
close() |
|
ByteBufferPool |
getArrayBackedPool() |
If this byte buffer pool corresponds to an array backed pool then this will return itself.
|
int |
getBufferSize() |
|
boolean |
isDirect() |
PooledByteBuffer allocate()
ByteBufferPool getArrayBackedPool()
void close()
close in interface AutoCloseableclose in interface Closeableint getBufferSize()
boolean isDirect()
Copyright © 2018. All rights reserved.