public class GenerationalAllocator
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GenerationalAllocator.MemoryAllocator
A thread-local allocator for an in-memory slab.
|
| Constructor and Description |
|---|
GenerationalAllocator() |
| Modifier and Type | Method and Description |
|---|---|
static IBuffer |
allocate(int bytes) |
static long |
diskAllocations() |
static long |
fileSize() |
static void |
logStatus(java.lang.String action) |
static long |
memoryAllocations() |
static io.lacuna.bifurcan.durable.allocator.GenerationalAllocator.FileBuffer |
spill(IList<IBuffer> buffers) |
public static void logStatus(java.lang.String action)
public static long fileSize()
public static long diskAllocations()
public static long memoryAllocations()
public static IBuffer allocate(int bytes)