public class AllocationManager extends Object
The only reason that this isn't package private is we're forced to put ArrowBuf in Netty's package which need access to these objects or methods.
Threading: AllocationManager manages thread-safety internally. Operations within the context of a single BufferLedger are lockless in nature and can be leveraged by multiple threads. Operations that cross the context of two ledgers will acquire a lock on the AllocationManager instance. Important note, there is one AllocationManager per UnsafeDirectLittleEndian buffer allocation. As such, there will be thousands of these in a typical query. The contention of acquiring a lock on AllocationManager should be very low.
|Modifier and Type||Class and Description|
The reference manager that binds an allocator manager to a particular BaseAllocator.
Copyright © 2019 The Apache Software Foundation. All rights reserved.