public class SystemInfoUtilsImpl extends Object implements SystemInfoUtils
Modifier and Type | Class and Description |
---|---|
protected static class |
SystemInfoUtilsImpl.MaskedUrlDatabaseMetaData |
SystemInfoUtils.DatabaseMetaData
MEGABYTE
Constructor and Description |
---|
SystemInfoUtilsImpl() |
Modifier and Type | Method and Description |
---|---|
long |
getAllocatedMemory() |
String |
getAppServer() |
SystemInfoUtils.DatabaseMetaData |
getDatabaseMetaData() |
String |
getDatabaseType() |
String |
getDbDescriptorLabel() |
String |
getDbDescriptorValue() |
long |
getFreeAllocatedMemory() |
long |
getFreeMemory() |
long |
getFreeNonHeapMemory() |
long |
getFreePermGenMemory() |
String |
getInstallationType() |
String |
getJvmInputArguments() |
List<com.atlassian.jdk.utilities.runtimeinformation.MemoryInformation> |
getMemoryPoolInformation() |
long |
getTotalMemory() |
long |
getTotalNonHeapMemory() |
long |
getTotalPermGenMemory() |
long |
getUnAllocatedMemory() |
String |
getUptime(ResourceBundle resourceBundle) |
long |
getUsedMemory() |
long |
getUsedNonHeapMemory() |
long |
getUsedPermGenMemory() |
public String getDatabaseType()
getDatabaseType
in interface SystemInfoUtils
public String getDbDescriptorValue()
getDbDescriptorValue
in interface SystemInfoUtils
public String getDbDescriptorLabel()
getDbDescriptorLabel
in interface SystemInfoUtils
public String getAppServer()
getAppServer
in interface SystemInfoUtils
public String getUptime(ResourceBundle resourceBundle)
getUptime
in interface SystemInfoUtils
public long getTotalMemory()
getTotalMemory
in interface SystemInfoUtils
public long getFreeMemory()
getFreeMemory
in interface SystemInfoUtils
public long getFreeAllocatedMemory()
getFreeAllocatedMemory
in interface SystemInfoUtils
public long getUnAllocatedMemory()
getUnAllocatedMemory
in interface SystemInfoUtils
public long getAllocatedMemory()
getAllocatedMemory
in interface SystemInfoUtils
public long getUsedMemory()
getUsedMemory
in interface SystemInfoUtils
public List<com.atlassian.jdk.utilities.runtimeinformation.MemoryInformation> getMemoryPoolInformation()
getMemoryPoolInformation
in interface SystemInfoUtils
public long getTotalPermGenMemory()
getTotalPermGenMemory
in interface SystemInfoUtils
public long getFreePermGenMemory()
getFreePermGenMemory
in interface SystemInfoUtils
public long getUsedPermGenMemory()
getUsedPermGenMemory
in interface SystemInfoUtils
public long getTotalNonHeapMemory()
getTotalNonHeapMemory
in interface SystemInfoUtils
public long getFreeNonHeapMemory()
getFreeNonHeapMemory
in interface SystemInfoUtils
public long getUsedNonHeapMemory()
getUsedNonHeapMemory
in interface SystemInfoUtils
public String getJvmInputArguments()
getJvmInputArguments
in interface SystemInfoUtils
public SystemInfoUtils.DatabaseMetaData getDatabaseMetaData() throws org.ofbiz.core.entity.GenericEntityException, JiraException, SQLException
getDatabaseMetaData
in interface SystemInfoUtils
org.ofbiz.core.entity.GenericEntityException
JiraException
SQLException
public String getInstallationType()
getInstallationType
in interface SystemInfoUtils
Copyright © 2002-2018 Atlassian. All Rights Reserved.