org.apache.arrow.memory.UnpooledRootAllocator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
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