Interface JvmMemoryPressure.Source

All Known Implementing Classes:
JvmMemoryPressure.PlatformSource
Enclosing class:
JvmMemoryPressure

public static interface JvmMemoryPressure.Source
Where readings come from: the platform MXBeans, or a test double.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Cumulative GC pause time in milliseconds (concurrent cycles excluded).
    Heap used after the most recent collection, as a percent of the maximum heap; null when the JVM does not report it.
  • Method Details

    • heapAfterGcPercent

      Double heapAfterGcPercent()
      Heap used after the most recent collection, as a percent of the maximum heap; null when the JVM does not report it.
    • gcPauseMillis

      long gcPauseMillis()
      Cumulative GC pause time in milliseconds (concurrent cycles excluded).