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
Fields -
Constructor Summary
Constructors -
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.FactoryCreate anAllocationManager.- Specified by:
createin 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:
emptyin interfaceAllocationManager.Factory
-