All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.arrow.memory.UnpooledRootAllocator Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package org.apache.arrow.memory;

import org.apache.arrow.memory.rounding.DefaultRoundingPolicy;
import org.apache.arrow.util.VisibleForTesting;

public class UnpooledRootAllocator extends RootAllocator {

  public UnpooledRootAllocator() {
    super(configBuilder().listener(AllocationListener.NOOP).
        maxAllocation(Long.MAX_VALUE)
        .roundingPolicy(DefaultRoundingPolicy.DEFAULT_ROUNDING_POLICY)
        .allocationManagerFactory(UnpooledNettyAllocationManager.FACTORY).build());
  }

  @VisibleForTesting
  public void verify() {
    this.verifyAllocator();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy