001
014
015 package com.liferay.portal.monitoring.statistics.portlet;
016
017 import com.liferay.portal.kernel.monitoring.MonitoringException;
018 import com.liferay.portal.kernel.monitoring.statistics.SummaryStatistics;
019
020
024 public interface PortletSummaryStatistics extends SummaryStatistics {
025
026 public long getAverageTimeByPortlet(String portletId)
027 throws MonitoringException;
028
029 public long getAverageTimeByPortlet(String portletId, long companyId)
030 throws MonitoringException;
031
032 public long getAverageTimeByPortlet(String portletId, String webId)
033 throws MonitoringException;
034
035 public long getErrorCountByPortlet(String portletId)
036 throws MonitoringException;
037
038 public long getErrorCountByPortlet(String portletId, long companyId)
039 throws MonitoringException;
040
041 public long getErrorCountByPortlet(String portletId, String webId)
042 throws MonitoringException;
043
044 public long getMaxTimeByPortlet(String portletId)
045 throws MonitoringException;
046
047 public long getMaxTimeByPortlet(String portletId, long companyId)
048 throws MonitoringException;
049
050 public long getMaxTimeByPortlet(String portletId, String webId)
051 throws MonitoringException;
052
053 public long getMinTimeByPortlet(String portletId)
054 throws MonitoringException;
055
056 public long getMinTimeByPortlet(String portletId, long companyId)
057 throws MonitoringException;
058
059 public long getMinTimeByPortlet(String portletId, String webId)
060 throws MonitoringException;
061
062 public long getRequestCountByPortlet(String portletId)
063 throws MonitoringException;
064
065 public long getRequestCountByPortlet(String portletId, long companyId)
066 throws MonitoringException;
067
068 public long getRequestCountByPortlet(String portletId, String webId)
069 throws MonitoringException;
070
071 public long getSuccessCountByPortlet(String portletId)
072 throws MonitoringException;
073
074 public long getSuccessCountByPortlet(String portletId, long companyId)
075 throws MonitoringException;
076
077 public long getSuccessCountByPortlet(String portletId, String webId)
078 throws MonitoringException;
079
080 public long getTimeoutCountByPortlet(String portletId)
081 throws MonitoringException;
082
083 public long getTimeoutCountByPortlet(String portletId, long companyId)
084 throws MonitoringException;
085
086 public long getTimeoutCountByPortlet(String portletId, String webId)
087 throws MonitoringException;
088
089 }