Class DataBufferConfiguration

java.lang.Object
com.illumon.iris.db.util.caching.redesign.DataBufferConfiguration

public class DataBufferConfiguration
extends Object
Configuration utilities related to the data buffers used for storing and communicating all Deephaven-format binary data.
  • Constructor Details

  • Method Details

    • getDataBufferSize

      public static int getDataBufferSize()
      Get the configured data buffer size for this process/system.
      Returns:
      The data buffer size
    • getMinimumPoolToHeapSizeRatio

      public static double getMinimumPoolToHeapSizeRatio()
      Get the configured minimum decimal ratio between the total size of the data buffer pool and the JVM heap size.
      Returns:
      The ratio
    • getMaximumPoolToHeapSizeRatio

      public static double getMaximumPoolToHeapSizeRatio()
      Get the configured maximum decimal ratio between the total size of the data buffer pool and the JVM heap size. Adjusts internally for direct vs. heap buffers, as the properties and appropriate values are distinct.
      Returns:
      The ratio