AutoCloseable
, Closeable
DefaultByteBufferPool
, XnioByteBufferPool
public 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 AutoCloseable
close
in interface Closeable
int getBufferSize()
boolean isDirect()
Copyright © 2018. All rights reserved.