Class RuntimeUtils

java.lang.Object
io.openlineage.client.utils.RuntimeUtils

public class RuntimeUtils extends Object
Class used to access static Runtime properties. Useful for testing as it can be mocked with mockStatic.
  • Constructor Details

    • RuntimeUtils

      public RuntimeUtils()
  • Method Details

    • freeMemory

      public static long freeMemory()
    • totalMemory

      public static long totalMemory()
    • maxMemory

      public static long maxMemory()
    • getMemoryFractionUsage

      public static double getMemoryFractionUsage()
    • getGarbageCollectorMXBeans

      public static List<GarbageCollectorMXBean> getGarbageCollectorMXBeans()