public class SystemInformation extends Object implements Serializable
| Constructor and Description |
|---|
SystemInformation() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppBase()
Gets the app base.
|
String |
getConfigBase()
Gets the config base.
|
int |
getCpuCount()
Gets the cpu count.
|
Date |
getDate()
Gets the date.
|
long |
getFreeMemory()
Gets the free memory.
|
long |
getMaxMemory()
Gets the max memory.
|
String |
getServerInfo()
Gets the server info.
|
Map<String,String> |
getSystemProperties()
Gets the system properties.
|
Set<Map.Entry<String,String>> |
getSystemPropertySet()
Gets the system property set.
|
long |
getTotalMemory()
Gets the total memory.
|
String |
getWorkingDir()
Gets the working dir.
|
void |
setAppBase(String appBase)
Sets the app base.
|
void |
setConfigBase(String configBase)
Sets the config base.
|
void |
setSystemProperties(Map<String,String> systemProperties)
Sets the system properties.
|
public long getMaxMemory()
public long getFreeMemory()
public long getTotalMemory()
public int getCpuCount()
public Date getDate()
public String getServerInfo()
public String getWorkingDir()
public String getAppBase()
public void setAppBase(String appBase)
appBase - the new app basepublic String getConfigBase()
public void setConfigBase(String configBase)
configBase - the new config basepublic Map<String,String> getSystemProperties()
public void setSystemProperties(Map<String,String> systemProperties)
systemProperties - the system propertiesCopyright © 2009–2020 psi-probe. All rights reserved.