Package org.apache.arrow.memory.unsafe
Class DefaultAllocationManagerFactory
java.lang.Object
org.apache.arrow.memory.unsafe.DefaultAllocationManagerFactory
- All Implemented Interfaces:
AllocationManager.Factory
The default Allocation Manager Factory for a module.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(BufferAllocator accountingAllocator, long size) Create anAllocationManager
.empty()
-
Field Details
-
FACTORY
-
-
Constructor Details
-
DefaultAllocationManagerFactory
public DefaultAllocationManagerFactory()
-
-
Method Details
-
create
Description copied from interface:AllocationManager.Factory
Create anAllocationManager
.- Specified by:
create
in interfaceAllocationManager.Factory
- 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
- Specified by:
empty
in interfaceAllocationManager.Factory
-