public class CachedByteBufferAllocator extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
bufferSize
This variable stores the size of the NIO byte buffer that should be allocated
according to properties.
|
| Constructor and Description |
|---|
CachedByteBufferAllocator() |
public static int bufferSize
public ByteBuffer get()
public void put(ByteBuffer buffer)
buffer - buffer to be returned in the cache.Copyright © 2004-2013 Cosylab. All Rights Reserved.