MemoryManager.Callback (ORC Core 1.2.1 API)
Date: 2016-10-19

org.apache.orc.impl

## Interface MemoryManager.Callback

- All Known Implementing Classes:
    WriterImpl
  Enclosing class:
    MemoryManager

      public static interface MemoryManager.Callback

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `checkMemory(double newScale)` The writer needs to check its memory usage

- - ### Method Detail

    - #### checkMemory

          boolean checkMemory(double newScale)
                       throws IOException

      The writer needs to check its memory usage
      Parameters:
        `newScale` - the current scale factor for memory allocations
      Returns:
        true if the writer was over the limit
      Throws:
        `IOException`

Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.