Package io.openlineage.client.utils
Class RuntimeUtils
java.lang.Object
io.openlineage.client.utils.RuntimeUtils
Class used to access static Runtime properties. Useful for testing as it can be mocked with
mockStatic.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
static List<GarbageCollectorMXBean>
static double
static long
static long
-
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
-