| Modifier and Type | Method and Description |
|---|---|
| public PooledByteBuffer | |
| public void | close()
Redeclares java. Closes this stream and releases any system resources associated with it. |
| public ByteBufferPool | Returns: An array backed pool of the same sizeIf this byte buffer pool corresponds to an array backed pool then this will return itself. |
| public int | |
| public boolean |
| allocate | back to summary |
|---|---|
| public PooledByteBuffer allocate() | |
| close | back to summary |
|---|---|
| public void close() Redeclares java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in | |
| getArrayBackedPool | back to summary |
|---|---|
| public ByteBufferPool getArrayBackedPool() If this byte buffer pool corresponds to an array backed pool then this will return itself. Otherwise it will return an array backed pool that contains buffers of the same size.
| |
| getBufferSize | back to summary |
|---|---|
| public int getBufferSize() | |
| isDirect | back to summary |
|---|---|
| public boolean isDirect() | |