Interface AllocationManager.Factory

All Known Implementing Classes:
DefaultAllocationManagerFactory, DefaultAllocationManagerFactory
Enclosing class:
AllocationManager

public static interface AllocationManager.Factory
A factory interface for creating AllocationManager. One may extend this interface to use a user-defined AllocationManager implementation.
  • Method Details

    • create

      AllocationManager create(BufferAllocator accountingAllocator, long size)
      Parameters:
      accountingAllocator - The allocator that are expected to be associated with newly created AllocationManager. Currently it is always equivalent to "this"
      size - Size (in bytes) of memory managed by the AllocationManager
      Returns:
      The created AllocationManager used by this allocator
    • empty

      ArrowBuf empty()