Package io.atomix.utils.memory
Interface MemoryAllocator<T extends Memory>
- All Known Implementing Classes:
MappedMemoryAllocator
public interface MemoryAllocator<T extends Memory>
Memory allocator.
Memory allocators handle allocation of memory for Memory objects.
- Author:
- Jordan Halterman
-
Method Summary
-
Method Details
-
allocate
Allocates memory.- Parameters:
size- The count of the memory to allocate.- Returns:
- The allocated memory.
-