Interface AllocationManager.Factory

All Known Implementing Classes:
DefaultAllocationManagerFactory, DefaultAllocationManagerFactory
Enclosing class:

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)
      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
      The created AllocationManager used by this allocator
    • empty

      ArrowBuf empty()