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() |
int | getBufferSize() |
public XnioByteBufferPool(org.xnio.Pool<ByteBuffer> pool)
public PooledByteBuffer allocate()
allocate
in interface ByteBufferPool
public void close()
close
in interface ByteBufferPool
close
in interface Closeable
close
in interface AutoCloseable
public int getBufferSize()
getBufferSize
in interface ByteBufferPool
Copyright © 2015 JBoss by Red Hat. All rights reserved.