public class XnioByteBufferPool extends Object implements ByteBufferPool
| Constructor and Description |
|---|
XnioByteBufferPool(org.xnio.Pool<ByteBuffer> pool) |
| Modifier and Type | Method and 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() |
public XnioByteBufferPool(org.xnio.Pool<ByteBuffer> pool)
public PooledByteBuffer allocate()
allocate in interface ByteBufferPoolpublic ByteBufferPool getArrayBackedPool()
ByteBufferPoolgetArrayBackedPool in interface ByteBufferPoolpublic void close()
close in interface ByteBufferPoolclose in interface Closeableclose in interface AutoCloseablepublic int getBufferSize()
getBufferSize in interface ByteBufferPoolpublic boolean isDirect()
isDirect in interface ByteBufferPoolCopyright © 2020 JBoss by Red Hat. All rights reserved.