AutoCloseable, org.xnio.Pooled<ByteBuffer>public class PooledAdaptor extends Object implements org.xnio.Pooled<ByteBuffer>
| Constructor | Description |
|---|---|
PooledAdaptor(PooledByteBuffer buffer) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
discard() |
|
void |
free() |
|
ByteBuffer |
getResource() |
public PooledAdaptor(PooledByteBuffer buffer)
public void discard()
discard in interface org.xnio.Pooled<ByteBuffer>public void free()
free in interface org.xnio.Pooled<ByteBuffer>public ByteBuffer getResource() throws IllegalStateException
getResource in interface org.xnio.Pooled<ByteBuffer>IllegalStateExceptionpublic void close()
close in interface AutoCloseableclose in interface org.xnio.Pooled<ByteBuffer>Copyright © 2018. All rights reserved.