public static interface AllocationManager.Factory
AllocationManager.
One may extend this interface to use a user-defined AllocationManager implementation.| Modifier and Type | Method and Description |
|---|---|
AllocationManager |
create(BufferAllocator accountingAllocator,
long size)
Create an
AllocationManager. |
ArrowBuf |
empty() |
AllocationManager create(BufferAllocator accountingAllocator, long size)
AllocationManager.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 AllocationManagerArrowBuf empty()
Copyright © 2024 The Apache Software Foundation. All rights reserved.