| Package | Description |
|---|---|
| io.atomix.utils.memory |
Provides interfaces for performing low-level on- and off-heap memory management.
|
| Modifier and Type | Method and Description |
|---|---|
static HeapMemory |
HeapMemory.allocate(int size)
Allocates heap memory via
HeapMemoryAllocator. |
HeapMemory |
HeapMemoryAllocator.allocate(int size) |
HeapMemory |
HeapMemory.copy() |
HeapMemory |
HeapMemoryAllocator.reallocate(HeapMemory memory,
int size) |
HeapMemory |
HeapMemory.reset(byte[] array)
Resets the memory pointer.
|
static HeapMemory |
HeapMemory.wrap(byte[] bytes)
Wraps the given bytes in a
HeapMemory object. |
| Modifier and Type | Method and Description |
|---|---|
HeapMemory |
HeapMemoryAllocator.reallocate(HeapMemory memory,
int size) |
Copyright © 2013–2019. All rights reserved.