Interface MemoryAllocatorFactory
- All Known Implementing Classes:
ArenaMemoryAllocatorFactory,SingleMemoryAllocatorFactory
public interface MemoryAllocatorFactory
Factory for
MemoryAllocator.
Used by FrameWriters.makeFrameWriterFactory(org.apache.druid.frame.FrameType, org.apache.druid.frame.allocation.MemoryAllocatorFactory, org.apache.druid.segment.column.RowSignature, java.util.List<org.apache.druid.frame.key.KeyColumn>, boolean) to create
FrameWriterFactory.-
Method Summary
Modifier and TypeMethodDescriptionlongCapacity of allocators returned bynewAllocator().Returns a new allocator with capacityallocatorCapacity().
-
Method Details
-
newAllocator
MemoryAllocator newAllocator()Returns a new allocator with capacityallocatorCapacity(). -
allocatorCapacity
long allocatorCapacity()Capacity of allocators returned bynewAllocator().
-