public class PooledAdaptor extends Object implements org.xnio.Pooled<ByteBuffer>
| Constructor and Description |
|---|
PooledAdaptor(PooledByteBuffer buffer) |
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 © 2016. All rights reserved.