com.liferay.portal.monitoring.jmx
Class PortletManager
java.lang.Object
com.liferay.portal.monitoring.jmx.PortletManager
- All Implemented Interfaces:
- PortletManagerMBean, PortletSummaryStatistics, SummaryStatistics
public class PortletManager
- extends java.lang.Object
- implements PortletManagerMBean
View Source
- Author:
- Michael C. Han, Brian Wing Shun Chan
Method Summary |
long |
getAverageTime()
|
long |
getAverageTimeByCompany(long companyId)
|
long |
getAverageTimeByCompany(java.lang.String webId)
|
long |
getAverageTimeByPortlet(java.lang.String portletId)
|
long |
getAverageTimeByPortlet(java.lang.String portletId,
long companyId)
|
long |
getAverageTimeByPortlet(java.lang.String portletId,
java.lang.String webId)
|
long[] |
getCompanyIds()
|
long |
getErrorCount()
|
long |
getErrorCountByCompany(long companyId)
|
long |
getErrorCountByCompany(java.lang.String webId)
|
long |
getErrorCountByPortlet(java.lang.String portletId)
|
long |
getErrorCountByPortlet(java.lang.String portletId,
long companyId)
|
long |
getErrorCountByPortlet(java.lang.String portletId,
java.lang.String webId)
|
long |
getMaxTime()
|
long |
getMaxTimeByCompany(long companyId)
|
long |
getMaxTimeByCompany(java.lang.String webId)
|
long |
getMaxTimeByPortlet(java.lang.String portletId)
|
long |
getMaxTimeByPortlet(java.lang.String portletId,
long companyId)
|
long |
getMaxTimeByPortlet(java.lang.String portletId,
java.lang.String webId)
|
long |
getMinTime()
|
long |
getMinTimeByCompany(long companyId)
|
long |
getMinTimeByCompany(java.lang.String webId)
|
long |
getMinTimeByPortlet(java.lang.String portletId)
|
long |
getMinTimeByPortlet(java.lang.String portletId,
long companyId)
|
long |
getMinTimeByPortlet(java.lang.String portletId,
java.lang.String webId)
|
java.lang.String[] |
getPortletIds()
|
long |
getRequestCount()
|
long |
getRequestCountByCompany(long companyId)
|
long |
getRequestCountByCompany(java.lang.String webId)
|
long |
getRequestCountByPortlet(java.lang.String portletId)
|
long |
getRequestCountByPortlet(java.lang.String portletId,
long companyId)
|
long |
getRequestCountByPortlet(java.lang.String portletId,
java.lang.String webId)
|
long |
getSuccessCount()
|
long |
getSuccessCountByCompany(long companyId)
|
long |
getSuccessCountByCompany(java.lang.String webId)
|
long |
getSuccessCountByPortlet(java.lang.String portletId)
|
long |
getSuccessCountByPortlet(java.lang.String portletId,
long companyId)
|
long |
getSuccessCountByPortlet(java.lang.String portletId,
java.lang.String webId)
|
long |
getTimeoutCount()
|
long |
getTimeoutCountByCompany(long companyId)
|
long |
getTimeoutCountByCompany(java.lang.String webId)
|
long |
getTimeoutCountByPortlet(java.lang.String portletId)
|
long |
getTimeoutCountByPortlet(java.lang.String portletId,
long companyId)
|
long |
getTimeoutCountByPortlet(java.lang.String portletId,
java.lang.String webId)
|
java.lang.String[] |
getWebIds()
|
void |
reset()
|
void |
reset(long companyId)
|
void |
reset(java.lang.String webId)
|
void |
setPortletSummaryStatistics(PortletSummaryStatistics portletSummaryStatistics)
|
void |
setServerStatistics(ServerStatistics serverStatistics)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletManager
public PortletManager()
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(java.lang.String webId)
throws MonitoringException
- Specified by:
getAverageTimeByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getAverageTimeByPortlet
public long getAverageTimeByPortlet(java.lang.String portletId)
throws MonitoringException
- Specified by:
getAverageTimeByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getAverageTimeByPortlet
public long getAverageTimeByPortlet(java.lang.String portletId,
long companyId)
throws MonitoringException
- Specified by:
getAverageTimeByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getAverageTimeByPortlet
public long getAverageTimeByPortlet(java.lang.String portletId,
java.lang.String webId)
throws MonitoringException
- Specified by:
getAverageTimeByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getCompanyIds
public long[] getCompanyIds()
- Specified by:
getCompanyIds
in interface PortletManagerMBean
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(java.lang.String webId)
throws MonitoringException
- Specified by:
getErrorCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getErrorCountByPortlet
public long getErrorCountByPortlet(java.lang.String portletId)
throws MonitoringException
- Specified by:
getErrorCountByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getErrorCountByPortlet
public long getErrorCountByPortlet(java.lang.String portletId,
long companyId)
throws MonitoringException
- Specified by:
getErrorCountByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getErrorCountByPortlet
public long getErrorCountByPortlet(java.lang.String portletId,
java.lang.String webId)
throws MonitoringException
- Specified by:
getErrorCountByPortlet
in interface PortletSummaryStatistics
- 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(java.lang.String webId)
throws MonitoringException
- Specified by:
getMaxTimeByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getMaxTimeByPortlet
public long getMaxTimeByPortlet(java.lang.String portletId)
throws MonitoringException
- Specified by:
getMaxTimeByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getMaxTimeByPortlet
public long getMaxTimeByPortlet(java.lang.String portletId,
long companyId)
throws MonitoringException
- Specified by:
getMaxTimeByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getMaxTimeByPortlet
public long getMaxTimeByPortlet(java.lang.String portletId,
java.lang.String webId)
throws MonitoringException
- Specified by:
getMaxTimeByPortlet
in interface PortletSummaryStatistics
- 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(java.lang.String webId)
throws MonitoringException
- Specified by:
getMinTimeByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getMinTimeByPortlet
public long getMinTimeByPortlet(java.lang.String portletId)
throws MonitoringException
- Specified by:
getMinTimeByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getMinTimeByPortlet
public long getMinTimeByPortlet(java.lang.String portletId,
long companyId)
throws MonitoringException
- Specified by:
getMinTimeByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getMinTimeByPortlet
public long getMinTimeByPortlet(java.lang.String portletId,
java.lang.String webId)
throws MonitoringException
- Specified by:
getMinTimeByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getPortletIds
public java.lang.String[] getPortletIds()
- Specified by:
getPortletIds
in interface PortletManagerMBean
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(java.lang.String webId)
throws MonitoringException
- Specified by:
getRequestCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getRequestCountByPortlet
public long getRequestCountByPortlet(java.lang.String portletId)
throws MonitoringException
- Specified by:
getRequestCountByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getRequestCountByPortlet
public long getRequestCountByPortlet(java.lang.String portletId,
long companyId)
throws MonitoringException
- Specified by:
getRequestCountByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getRequestCountByPortlet
public long getRequestCountByPortlet(java.lang.String portletId,
java.lang.String webId)
throws MonitoringException
- Specified by:
getRequestCountByPortlet
in interface PortletSummaryStatistics
- 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(java.lang.String webId)
throws MonitoringException
- Specified by:
getSuccessCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getSuccessCountByPortlet
public long getSuccessCountByPortlet(java.lang.String portletId)
throws MonitoringException
- Specified by:
getSuccessCountByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getSuccessCountByPortlet
public long getSuccessCountByPortlet(java.lang.String portletId,
long companyId)
throws MonitoringException
- Specified by:
getSuccessCountByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getSuccessCountByPortlet
public long getSuccessCountByPortlet(java.lang.String portletId,
java.lang.String webId)
throws MonitoringException
- Specified by:
getSuccessCountByPortlet
in interface PortletSummaryStatistics
- 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(java.lang.String webId)
throws MonitoringException
- Specified by:
getTimeoutCountByCompany
in interface SummaryStatistics
- Throws:
MonitoringException
getTimeoutCountByPortlet
public long getTimeoutCountByPortlet(java.lang.String portletId)
throws MonitoringException
- Specified by:
getTimeoutCountByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getTimeoutCountByPortlet
public long getTimeoutCountByPortlet(java.lang.String portletId,
long companyId)
throws MonitoringException
- Specified by:
getTimeoutCountByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getTimeoutCountByPortlet
public long getTimeoutCountByPortlet(java.lang.String portletId,
java.lang.String webId)
throws MonitoringException
- Specified by:
getTimeoutCountByPortlet
in interface PortletSummaryStatistics
- Throws:
MonitoringException
getWebIds
public java.lang.String[] getWebIds()
- Specified by:
getWebIds
in interface PortletManagerMBean
reset
public void reset()
- Specified by:
reset
in interface PortletManagerMBean
reset
public void reset(long companyId)
- Specified by:
reset
in interface PortletManagerMBean
reset
public void reset(java.lang.String webId)
- Specified by:
reset
in interface PortletManagerMBean
setPortletSummaryStatistics
public void setPortletSummaryStatistics(PortletSummaryStatistics portletSummaryStatistics)
setServerStatistics
public void setServerStatistics(ServerStatistics serverStatistics)