public class BinaryMemoryAllocatorChunk extends Object
| Constructor and Description |
|---|
BinaryMemoryAllocatorChunk() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
allocate(int size)
Allocate.
|
boolean |
isAcquired() |
byte[] |
reallocate(byte[] data,
int size)
Reallocate.
|
void |
release(byte[] data,
int maxMsgSize)
Shrinks array size if needed.
|
public byte[] allocate(int size)
size - Desired size.public byte[] reallocate(byte[] data,
int size)
data - Old data.size - Size.public void release(byte[] data,
int maxMsgSize)
public boolean isAcquired()
True if acquired.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019