Interface MemoryManager.Callback

All Known Implementing Classes:
WriterImpl, WriterImplV2
Enclosing interface:
MemoryManager

public static interface MemoryManager.Callback
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkMemory(double newScale)
    The scale factor for the stripe size has changed and thus the writer should adjust their desired size appropriately.
  • Method Details

    • checkMemory

      boolean checkMemory(double newScale) throws IOException
      The scale factor for the stripe size has changed and thus the writer should adjust their desired size appropriately.
      Parameters:
      newScale - the current scale factor for memory allocations
      Returns:
      true if the writer was over the limit
      Throws:
      IOException