Class DataBufferConfiguration
java.lang.Object
com.illumon.iris.db.util.caching.redesign.DataBufferConfiguration
Configuration utilities related to the data buffers used for storing and communicating all Deephaven-format binary
data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
Get the configured data buffer size for this process/system.static double
Get the configured maximum decimal ratio between the total size of the data buffer pool and the JVM heap size.static double
Get the configured minimum decimal ratio between the total size of the data buffer pool and the JVM heap size.
-
Constructor Details
-
DataBufferConfiguration
public DataBufferConfiguration()
-
-
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
-