Interface TransientBlockAllocator.Allocator<T extends TransientBlockAllocator.Allocator.Block>
- Enclosing class:
TransientBlockAllocator<T extends TransientBlockAllocator.Allocator.Block>
public static interface TransientBlockAllocator.Allocator<T extends TransientBlockAllocator.Allocator.Block>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic final record -
Method Summary
Modifier and TypeMethodDescriptionalloc(long size) static <T extends TransientBlockAllocator.Allocator.Block>
TransientBlockAllocator.Allocator<T> create(LongFunction<T> alloc, Consumer<T> free) void
-
Method Details
-
alloc
-
free
-
create
static <T extends TransientBlockAllocator.Allocator.Block> TransientBlockAllocator.Allocator<T> create(LongFunction<T> alloc, Consumer<T> free)
-