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() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
get()
Get a byte buffer.
|
void |
put(ByteBuffer buffer)
Return buffer to a cache.
|
public static int bufferSize
public ByteBuffer get()
public void put(ByteBuffer buffer)
buffer - buffer to be returned in the cache.Copyright © 2004-2020 EPICS. All Rights Reserved.