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

    Modifier and Type
    Method
    Description
    long
    getRoundedSize(long requestSize)
     
  • Method Details

    • getRoundedSize

      long getRoundedSize(long requestSize)