com.atlassian.jira.util.system
Class SystemInfoUtilsImpl
java.lang.Object
com.atlassian.jira.util.system.SystemInfoUtilsImpl
- All Implemented Interfaces:
- SystemInfoUtils
public class SystemInfoUtilsImpl
- extends Object
- implements SystemInfoUtils
Supply specific system information of the current JIRA installation.
For Example: Returning the current database type.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemInfoUtilsImpl
public SystemInfoUtilsImpl()
getDatabaseType
public String getDatabaseType()
- Specified by:
getDatabaseType
in interface SystemInfoUtils
getJNDIName
public String getJNDIName()
- Specified by:
getJNDIName
in interface SystemInfoUtils
getAppServer
public String getAppServer()
- Specified by:
getAppServer
in interface SystemInfoUtils
getUptime
public String getUptime(ResourceBundle resourceBundle)
- Specified by:
getUptime
in interface SystemInfoUtils
getTotalMemory
public long getTotalMemory()
- Specified by:
getTotalMemory
in interface SystemInfoUtils
getFreeMemory
public long getFreeMemory()
- Specified by:
getFreeMemory
in interface SystemInfoUtils
getUsedMemory
public long getUsedMemory()
- Specified by:
getUsedMemory
in interface SystemInfoUtils
getDatabaseMetaData
public SystemInfoUtils.DatabaseMetaData getDatabaseMetaData()
throws org.ofbiz.core.entity.GenericEntityException,
JiraException,
SQLException
- Specified by:
getDatabaseMetaData
in interface SystemInfoUtils
- Throws:
org.ofbiz.core.entity.GenericEntityException
JiraException
SQLException
getInstallationType
public String getInstallationType()
- Specified by:
getInstallationType
in interface SystemInfoUtils
Copyright © 2002-2007 Atlassian. All Rights Reserved.