-
-
Field Summary
Fields Modifier and Type Field Description private final TimeZonetimeZoneprivate final Charsetcharsetprivate final Stringhostnameprivate final Stringipprivate final Stringidprivate final Stringnameprivate final Stringversionprivate final IntegercpuCountprivate final Stringtimezoneprivate final Stringlocalepublic final static JvmINSTANCE
-
Method Summary
Modifier and Type Method Description final StringinitialMemory()final StringusedMemory()final Stringuptime()final <T extends Any> TsystemSetting(KClass<T> type, String name)final <T extends Any> TsystemSetting(String name)final TimeZonegetTimeZone()Default timezone. final CharsetgetCharset()Default character set. final StringgetHostname()The hostname of the machine running this program. final StringgetIp()The IP address of the machine running this program. final StringgetId()final StringgetName()final StringgetVersion()final IntegergetCpuCount()final StringgetTimezone()final StringgetLocale()-
-
Method Detail
-
initialMemory
final String initialMemory()
-
usedMemory
final String usedMemory()
-
systemSetting
final <T extends Any> T systemSetting(String name)
-
getTimeZone
final TimeZone getTimeZone()
Default timezone. TODO Defining this lazily fails in macOS
-
getCharset
final Charset getCharset()
Default character set.
-
getHostname
final String getHostname()
The hostname of the machine running this program.
-
getVersion
final String getVersion()
-
getCpuCount
final Integer getCpuCount()
-
getTimezone
final String getTimezone()
-
-
-
-