Liferay 6.1.2-ce-ga3

com.liferay.portal.monitoring.jmx
Class PortalManager

java.lang.Object
  extended by com.liferay.portal.monitoring.jmx.PortalManager
All Implemented Interfaces:
SummaryStatistics, PortalManagerMBean

public class PortalManager
extends Object
implements PortalManagerMBean


Constructor Summary
PortalManager()
           
 
Method Summary
 long getAverageTime()
           
 long getAverageTimeByCompany(long companyId)
           
 long getAverageTimeByCompany(String webId)
           
 long[] getCompanyIds()
           
 long getErrorCount()
           
 long getErrorCountByCompany(long companyId)
           
 long getErrorCountByCompany(String webId)
           
 long getMaxTime()
           
 long getMaxTimeByCompany(long companyId)
           
 long getMaxTimeByCompany(String webId)
           
 long getMinTime()
           
 long getMinTimeByCompany(long companyId)
           
 long getMinTimeByCompany(String webId)
           
 long getRequestCount()
           
 long getRequestCountByCompany(long companyId)
           
 long getRequestCountByCompany(String webId)
           
 long getStartTime(long companyId)
           
 long getStartTime(String webId)
           
 long getSuccessCount()
           
 long getSuccessCountByCompany(long companyId)
           
 long getSuccessCountByCompany(String webId)
           
 long getTimeoutCount()
           
 long getTimeoutCountByCompany(long companyId)
           
 long getTimeoutCountByCompany(String webId)
           
 long getUptime(long companyId)
           
 long getUptime(String webId)
           
 String[] getWebIds()
           
 void reset()
           
 void reset(long companyId)
           
 void reset(String webId)
           
 void setServerStatistics(ServerStatistics serverStatistics)
           
 void setSummaryStatistics(SummaryStatistics summaryStatistics)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalManager

public PortalManager()
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

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)

Liferay 6.1.2-ce-ga3