public class EnvironmentInformation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EnvironmentInformation.RevisionInformation |
| Modifier and Type | Method and Description |
|---|---|
static String |
getJvmStartupOptions() |
static String |
getJvmVersion() |
static long |
getMaxJvmHeapMemory()
The maximum JVM heap size, in bytes.
|
static EnvironmentInformation.RevisionInformation |
getRevisionInformation()
Returns the code revision (commit and commit date) of Flink.
|
static long |
getSizeOfFreeHeapMemory()
Gets an estimate of the size of the free heap memory.
|
static long |
getSizeOfFreeHeapMemoryWithDefrag()
Gets an estimate of the size of the free heap memory.
|
static String |
getTemporaryFileDirectory() |
static String |
getUserRunning()
Gets the name of the user that is running the JVM.
|
static String |
getVersion()
Returns the version of the code as String.
|
static void |
logEnvironmentInfo(org.slf4j.Logger log,
String componentName) |
static void |
main(String[] args) |
public static String getVersion()
public static EnvironmentInformation.RevisionInformation getRevisionInformation()
public static String getUserRunning()
public static long getMaxJvmHeapMemory()
public static long getSizeOfFreeHeapMemoryWithDefrag()
getSizeOfFreeHeapMemory().public static long getSizeOfFreeHeapMemory()
getSizeOfFreeHeapMemoryWithDefrag().public static String getJvmVersion()
public static String getJvmStartupOptions()
public static String getTemporaryFileDirectory()
public static void logEnvironmentInfo(org.slf4j.Logger log,
String componentName)
public static void main(String[] args)
Copyright © 2015 The Apache Software Foundation. All rights reserved.