Liferay 6.1.2-ce-ga3

com.liferay.portal.monitoring.jmx
Class PortletManager

java.lang.Object
  extended by com.liferay.portal.monitoring.jmx.PortletManager
All Implemented Interfaces:
SummaryStatistics, PortletManagerMBean, PortletSummaryStatistics

public class PortletManager
extends Object
implements PortletManagerMBean


Constructor Summary
PortletManager()
           
 
Method Summary
 long getAverageTime()
           
 long getAverageTimeByCompany(long companyId)
           
 long getAverageTimeByCompany(String webId)
           
 long getAverageTimeByPortlet(String portletId)
           
 long getAverageTimeByPortlet(String portletId, long companyId)
           
 long getAverageTimeByPortlet(String portletId, String webId)
           
 long[] getCompanyIds()
           
 long getErrorCount()
           
 long getErrorCountByCompany(long companyId)
           
 long getErrorCountByCompany(String webId)
           
 long getErrorCountByPortlet(String portletId)
           
 long getErrorCountByPortlet(String portletId, long companyId)
           
 long getErrorCountByPortlet(String portletId, String webId)
           
 long getMaxTime()
           
 long getMaxTimeByCompany(long companyId)
           
 long getMaxTimeByCompany(String webId)
           
 long getMaxTimeByPortlet(String portletId)
           
 long getMaxTimeByPortlet(String portletId, long companyId)
           
 long getMaxTimeByPortlet(String portletId, String webId)
           
 long getMinTime()
           
 long getMinTimeByCompany(long companyId)
           
 long getMinTimeByCompany(String webId)
           
 long getMinTimeByPortlet(String portletId)
           
 long getMinTimeByPortlet(String portletId, long companyId)
           
 long getMinTimeByPortlet(String portletId, String webId)
           
 String[] getPortletIds()
           
 long getRequestCount()
           
 long getRequestCountByCompany(long companyId)
           
 long getRequestCountByCompany(String webId)
           
 long getRequestCountByPortlet(String portletId)
           
 long getRequestCountByPortlet(String portletId, long companyId)
           
 long getRequestCountByPortlet(String portletId, String webId)
           
 long getSuccessCount()
           
 long getSuccessCountByCompany(long companyId)
           
 long getSuccessCountByCompany(String webId)
           
 long getSuccessCountByPortlet(String portletId)
           
 long getSuccessCountByPortlet(String portletId, long companyId)
           
 long getSuccessCountByPortlet(String portletId, String webId)
           
 long getTimeoutCount()
           
 long getTimeoutCountByCompany(long companyId)
           
 long getTimeoutCountByCompany(String webId)
           
 long getTimeoutCountByPortlet(String portletId)
           
 long getTimeoutCountByPortlet(String portletId, long companyId)
           
 long getTimeoutCountByPortlet(String portletId, String webId)
           
 String[] getWebIds()
           
 void reset()
           
 void reset(long companyId)
           
 void reset(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
 

Constructor Detail

PortletManager

public PortletManager()
Method Detail

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

getAverageTimeByPortlet

public long getAverageTimeByPortlet(String portletId)
                             throws MonitoringException
Specified by:
getAverageTimeByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getAverageTimeByPortlet

public long getAverageTimeByPortlet(String portletId,
                                    long companyId)
                             throws MonitoringException
Specified by:
getAverageTimeByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getAverageTimeByPortlet

public long getAverageTimeByPortlet(String portletId,
                                    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(String webId)
                            throws MonitoringException
Specified by:
getErrorCountByCompany in interface SummaryStatistics
Throws:
MonitoringException

getErrorCountByPortlet

public long getErrorCountByPortlet(String portletId)
                            throws MonitoringException
Specified by:
getErrorCountByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getErrorCountByPortlet

public long getErrorCountByPortlet(String portletId,
                                   long companyId)
                            throws MonitoringException
Specified by:
getErrorCountByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getErrorCountByPortlet

public long getErrorCountByPortlet(String portletId,
                                   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(String webId)
                         throws MonitoringException
Specified by:
getMaxTimeByCompany in interface SummaryStatistics
Throws:
MonitoringException

getMaxTimeByPortlet

public long getMaxTimeByPortlet(String portletId)
                         throws MonitoringException
Specified by:
getMaxTimeByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getMaxTimeByPortlet

public long getMaxTimeByPortlet(String portletId,
                                long companyId)
                         throws MonitoringException
Specified by:
getMaxTimeByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getMaxTimeByPortlet

public long getMaxTimeByPortlet(String portletId,
                                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(String webId)
                         throws MonitoringException
Specified by:
getMinTimeByCompany in interface SummaryStatistics
Throws:
MonitoringException

getMinTimeByPortlet

public long getMinTimeByPortlet(String portletId)
                         throws MonitoringException
Specified by:
getMinTimeByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getMinTimeByPortlet

public long getMinTimeByPortlet(String portletId,
                                long companyId)
                         throws MonitoringException
Specified by:
getMinTimeByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getMinTimeByPortlet

public long getMinTimeByPortlet(String portletId,
                                String webId)
                         throws MonitoringException
Specified by:
getMinTimeByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getPortletIds

public 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(String webId)
                              throws MonitoringException
Specified by:
getRequestCountByCompany in interface SummaryStatistics
Throws:
MonitoringException

getRequestCountByPortlet

public long getRequestCountByPortlet(String portletId)
                              throws MonitoringException
Specified by:
getRequestCountByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getRequestCountByPortlet

public long getRequestCountByPortlet(String portletId,
                                     long companyId)
                              throws MonitoringException
Specified by:
getRequestCountByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getRequestCountByPortlet

public long getRequestCountByPortlet(String portletId,
                                     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(String webId)
                              throws MonitoringException
Specified by:
getSuccessCountByCompany in interface SummaryStatistics
Throws:
MonitoringException

getSuccessCountByPortlet

public long getSuccessCountByPortlet(String portletId)
                              throws MonitoringException
Specified by:
getSuccessCountByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getSuccessCountByPortlet

public long getSuccessCountByPortlet(String portletId,
                                     long companyId)
                              throws MonitoringException
Specified by:
getSuccessCountByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getSuccessCountByPortlet

public long getSuccessCountByPortlet(String portletId,
                                     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(String webId)
                              throws MonitoringException
Specified by:
getTimeoutCountByCompany in interface SummaryStatistics
Throws:
MonitoringException

getTimeoutCountByPortlet

public long getTimeoutCountByPortlet(String portletId)
                              throws MonitoringException
Specified by:
getTimeoutCountByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getTimeoutCountByPortlet

public long getTimeoutCountByPortlet(String portletId,
                                     long companyId)
                              throws MonitoringException
Specified by:
getTimeoutCountByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getTimeoutCountByPortlet

public long getTimeoutCountByPortlet(String portletId,
                                     String webId)
                              throws MonitoringException
Specified by:
getTimeoutCountByPortlet in interface PortletSummaryStatistics
Throws:
MonitoringException

getWebIds

public 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(String webId)
Specified by:
reset in interface PortletManagerMBean

setPortletSummaryStatistics

public void setPortletSummaryStatistics(PortletSummaryStatistics portletSummaryStatistics)

setServerStatistics

public void setServerStatistics(ServerStatistics serverStatistics)

Liferay 6.1.2-ce-ga3