Class Diagnostics
java.lang.Object
org.variantsync.diffdetective.util.Diagnostics
Human readable diagnostic information bundle.
This is a singleton
.
Adapted from https://stackoverflow.com/a/8973770/5410757
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.variantsync.functjonal.Lazy<Diagnostics>
private final Runtime
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static double
B2GB
(long bytes) Convert Bytes into Gigabytes.int
info()
Human readable information about current memory usage and the running machine.memInfo()
Human readable information about the current memory usage.osArch()
Returns the architecture of the running system.osInfo()
Human readable information about the running machine.osName()
-
Field Details
-
INSTANCE
-
runtime
-
-
Constructor Details
-
Diagnostics
private Diagnostics()
-
-
Method Details
-
info
Human readable information about current memory usage and the running machine. -
osName
-
osVersion
-
osArch
Returns the architecture of the running system. -
getNumberOfAvailableProcessors
public int getNumberOfAvailableProcessors() -
B2GB
private static double B2GB(long bytes) Convert Bytes into Gigabytes. -
memInfo
Human readable information about the current memory usage. -
osInfo
Human readable information about the running machine.
-