com.liferay.portal.monitoring.jmx
Class PortalManager
java.lang.Object
com.liferay.portal.monitoring.jmx.PortalManager
- All Implemented Interfaces:
- SummaryStatistics, PortalManagerMBean
public class PortalManager
- extends Object
- implements PortalManagerMBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalManager
public PortalManager()
getAverageTime
public long getAverageTime()
throws MonitoringException
- Specified by:
getAverageTime
in interface SummaryStatistics
- Throws:
MonitoringException
getAverageTimeByCompany
public long getAverageTimeByCompany(long companyId)
throws MonitoringException
- Specified by:
getAverageTimeByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getAverageTimeByCompany
public long getAverageTimeByCompany(String webId)
throws MonitoringException
- Specified by:
getAverageTimeByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getCompanyIds
public long[] getCompanyIds()
- Specified by:
getCompanyIds
in interface PortalManagerMBean
getErrorCount
public long getErrorCount()
throws MonitoringException
- Specified by:
getErrorCount
in interface SummaryStatistics
- Throws:
MonitoringException
getErrorCountByCompany
public long getErrorCountByCompany(long companyId)
throws MonitoringException
- Specified by:
getErrorCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getErrorCountByCompany
public long getErrorCountByCompany(String webId)
throws MonitoringException
- Specified by:
getErrorCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getMaxTime
public long getMaxTime()
throws MonitoringException
- Specified by:
getMaxTime
in interface SummaryStatistics
- Throws:
MonitoringException
getMaxTimeByCompany
public long getMaxTimeByCompany(long companyId)
throws MonitoringException
- Specified by:
getMaxTimeByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getMaxTimeByCompany
public long getMaxTimeByCompany(String webId)
throws MonitoringException
- Specified by:
getMaxTimeByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getMinTime
public long getMinTime()
throws MonitoringException
- Specified by:
getMinTime
in interface SummaryStatistics
- Throws:
MonitoringException
getMinTimeByCompany
public long getMinTimeByCompany(long companyId)
throws MonitoringException
- Specified by:
getMinTimeByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getMinTimeByCompany
public long getMinTimeByCompany(String webId)
throws MonitoringException
- Specified by:
getMinTimeByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getRequestCount
public long getRequestCount()
throws MonitoringException
- Specified by:
getRequestCount
in interface SummaryStatistics
- Throws:
MonitoringException
getRequestCountByCompany
public long getRequestCountByCompany(long companyId)
throws MonitoringException
- Specified by:
getRequestCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getRequestCountByCompany
public long getRequestCountByCompany(String webId)
throws MonitoringException
- Specified by:
getRequestCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getStartTime
public long getStartTime(long companyId)
throws MonitoringException
- Throws:
MonitoringException
getStartTime
public long getStartTime(String webId)
throws MonitoringException
- Throws:
MonitoringException
getSuccessCount
public long getSuccessCount()
throws MonitoringException
- Specified by:
getSuccessCount
in interface SummaryStatistics
- Throws:
MonitoringException
getSuccessCountByCompany
public long getSuccessCountByCompany(long companyId)
throws MonitoringException
- Specified by:
getSuccessCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getSuccessCountByCompany
public long getSuccessCountByCompany(String webId)
throws MonitoringException
- Specified by:
getSuccessCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getTimeoutCount
public long getTimeoutCount()
throws MonitoringException
- Specified by:
getTimeoutCount
in interface SummaryStatistics
- Throws:
MonitoringException
getTimeoutCountByCompany
public long getTimeoutCountByCompany(long companyId)
throws MonitoringException
- Specified by:
getTimeoutCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getTimeoutCountByCompany
public long getTimeoutCountByCompany(String webId)
throws MonitoringException
- Specified by:
getTimeoutCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getUptime
public long getUptime(long companyId)
throws MonitoringException
- Specified by:
getUptime
in interface PortalManagerMBean
- Throws:
MonitoringException
getUptime
public long getUptime(String webId)
throws MonitoringException
- Specified by:
getUptime
in interface PortalManagerMBean
- Throws:
MonitoringException
getWebIds
public String[] getWebIds()
- Specified by:
getWebIds
in interface PortalManagerMBean
reset
public void reset()
- Specified by:
reset
in interface PortalManagerMBean
reset
public void reset(long companyId)
- Specified by:
reset
in interface PortalManagerMBean
reset
public void reset(String webId)
- Specified by:
reset
in interface PortalManagerMBean
setServerStatistics
public void setServerStatistics(ServerStatistics serverStatistics)
setSummaryStatistics
public void setSummaryStatistics(SummaryStatistics summaryStatistics)