Liferay 6.1.2-ce-ga3

com.liferay.portal.monitoring.statistics.portlet
Class EventRequestSummaryStatistics

java.lang.Object
  extended by com.liferay.portal.monitoring.statistics.portlet.EventRequestSummaryStatistics
All Implemented Interfaces:
SummaryStatistics, PortletSummaryStatistics

public class EventRequestSummaryStatistics
extends Object
implements PortletSummaryStatistics


Constructor Summary
EventRequestSummaryStatistics()
           
 
Method Summary
 long getAverageTime()
           
protected  long getAverageTimeByCompany(CompanyStatistics companyStatistics)
           
 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 getErrorCount()
           
protected  long getErrorCountByCompany(CompanyStatistics companyStatistics)
           
 long getErrorCountByCompany(long companyId)
           
 long getErrorCountByCompany(String webId)
           
 long getErrorCountByPortlet(String portletId)
           
protected  long getErrorCountByPortlet(String portletId, CompanyStatistics companyStatistics)
           
 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)
           
protected  long getMaxTimeByPortlet(String portletId, CompanyStatistics companyStatistics)
           
 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)
           
protected  long getMinTimeByPortlet(String portletId, CompanyStatistics companyStatistics)
           
 long getMinTimeByPortlet(String portletId, long companyId)
           
 long getMinTimeByPortlet(String portletId, String webId)
           
 long getRequestCount()
           
protected  long getRequestCountByCompany(CompanyStatistics companyStatistics)
           
 long getRequestCountByCompany(long companyId)
           
 long getRequestCountByCompany(String webId)
           
 long getRequestCountByPortlet(String portletId)
           
protected  long getRequestCountByPortlet(String portletId, CompanyStatistics companyStatistics)
           
 long getRequestCountByPortlet(String portletId, long companyId)
           
 long getRequestCountByPortlet(String portletId, String webId)
           
 long getSuccessCount()
           
protected  long getSuccessCountByCompany(CompanyStatistics companyStatistics)
           
 long getSuccessCountByCompany(long companyId)
           
 long getSuccessCountByCompany(String webId)
           
 long getSuccessCountByPortlet(String portletId)
           
protected  long getSuccessCountByPortlet(String portletId, CompanyStatistics companyStatistics)
           
 long getSuccessCountByPortlet(String portletId, long companyId)
           
 long getSuccessCountByPortlet(String portletId, String webId)
           
 long getTimeoutCount()
           
protected  long getTimeoutCountByCompany(CompanyStatistics companyStatistics)
           
 long getTimeoutCountByCompany(long companyId)
           
 long getTimeoutCountByCompany(String webId)
           
 long getTimeoutCountByPortlet(String portletId)
           
protected  long getTimeoutCountByPortlet(String portletId, CompanyStatistics companyStatistics)
           
 long getTimeoutCountByPortlet(String portletId, long companyId)
           
 long getTimeoutCountByPortlet(String portletId, String webId)
           
 void setServerStatistics(ServerStatistics serverStatistics)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventRequestSummaryStatistics

public EventRequestSummaryStatistics()
Method Detail

getAverageTime

public long getAverageTime()
Specified by:
getAverageTime in interface SummaryStatistics

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

getErrorCount

public long getErrorCount()
Specified by:
getErrorCount in interface SummaryStatistics

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()
Specified by:
getMaxTime in interface SummaryStatistics

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()
Specified by:
getMinTime in interface SummaryStatistics

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

getRequestCount

public long getRequestCount()
Specified by:
getRequestCount in interface SummaryStatistics

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()
Specified by:
getSuccessCount in interface SummaryStatistics

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()
Specified by:
getTimeoutCount in interface SummaryStatistics

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

setServerStatistics

public void setServerStatistics(ServerStatistics serverStatistics)

getAverageTimeByCompany

protected long getAverageTimeByCompany(CompanyStatistics companyStatistics)

getErrorCountByCompany

protected long getErrorCountByCompany(CompanyStatistics companyStatistics)

getErrorCountByPortlet

protected long getErrorCountByPortlet(String portletId,
                                      CompanyStatistics companyStatistics)
                               throws MonitoringException
Throws:
MonitoringException

getMaxTimeByPortlet

protected long getMaxTimeByPortlet(String portletId,
                                   CompanyStatistics companyStatistics)
                            throws MonitoringException
Throws:
MonitoringException

getMinTimeByPortlet

protected long getMinTimeByPortlet(String portletId,
                                   CompanyStatistics companyStatistics)
                            throws MonitoringException
Throws:
MonitoringException

getRequestCountByCompany

protected long getRequestCountByCompany(CompanyStatistics companyStatistics)

getRequestCountByPortlet

protected long getRequestCountByPortlet(String portletId,
                                        CompanyStatistics companyStatistics)
                                 throws MonitoringException
Throws:
MonitoringException

getSuccessCountByCompany

protected long getSuccessCountByCompany(CompanyStatistics companyStatistics)

getSuccessCountByPortlet

protected long getSuccessCountByPortlet(String portletId,
                                        CompanyStatistics companyStatistics)
                                 throws MonitoringException
Throws:
MonitoringException

getTimeoutCountByCompany

protected long getTimeoutCountByCompany(CompanyStatistics companyStatistics)

getTimeoutCountByPortlet

protected long getTimeoutCountByPortlet(String portletId,
                                        CompanyStatistics companyStatistics)
                                 throws MonitoringException
Throws:
MonitoringException

Liferay 6.1.2-ce-ga3