public class DefaultAllocationManagerFactory extends Object implements AllocationManager.Factory
| Modifier and Type | Field and Description |
|---|---|
static AllocationManager.Factory |
FACTORY |
| Constructor and Description |
|---|
DefaultAllocationManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
AllocationManager |
create(BufferAllocator accountingAllocator,
long size)
Create an
AllocationManager. |
ArrowBuf |
empty() |
public static final AllocationManager.Factory FACTORY
public AllocationManager create(BufferAllocator accountingAllocator, long size)
AllocationManager.FactoryAllocationManager.create in interface AllocationManager.FactoryaccountingAllocator - 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 AllocationManagerpublic ArrowBuf empty()
empty in interface AllocationManager.FactoryCopyright © 2024 The Apache Software Foundation. All rights reserved.