Package org.apache.arrow.memory.rounding
Interface RoundingPolicy
- All Known Implementing Classes:
DefaultRoundingPolicy
,SegmentRoundingPolicy
public interface RoundingPolicy
The policy for rounding the buffer size, to improve performance and avoid memory fragmentation.
In particular, given a requested buffer size, the policy will determine the rounded buffer size.
-
Method Summary
-
Method Details
-
getRoundedSize
long getRoundedSize(long requestSize)
-