Package org.apache.sysds.utils
Interface SettingsChecker
-
public interface SettingsCheckerSettings Checker class that contains checks for the JVM setting of systemds when executed. These checks helps users configure systemds correctly in case the settings were incorrectly set.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.logging.LogLOG
-
Method Summary
Static Methods Modifier and Type Method Description static StringbyteMemoryToString(long bytes)Converts a number of bytes in a long to a human readable string with GB, MB, KB and B.static voidcheck()Check if the settings set are correct, otherwise write warnings to a user.static voidcheckMemorySetting()static longmaxMemMachine()
-
-
-
Method Detail
-
check
static void check()
Check if the settings set are correct, otherwise write warnings to a user.
-
checkMemorySetting
static void checkMemorySetting()
-
maxMemMachine
static long maxMemMachine()
-
byteMemoryToString
static String byteMemoryToString(long bytes)
Converts a number of bytes in a long to a human readable string with GB, MB, KB and B.- Parameters:
bytes- Number of bytes.- Returns:
- A human readable string
-
-