Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.monitoring.statistics.portlet.ServerStatistics
All Implemented Interfaces:
DataSampleProcessor<PortletRequestDataSample>

public class ServerStatistics
extends Object
implements DataSampleProcessor<PortletRequestDataSample>


Constructor Summary
ServerStatistics()
           
 
Method Summary
 void afterPropertiesSet()
           
 Set<Long> getCompanyIds()
           
 CompanyStatistics getCompanyStatistics(long companyId)
           
 CompanyStatistics getCompanyStatistics(String webId)
           
 Set<CompanyStatistics> getCompanyStatisticsSet()
           
 Set<String> getPortletIds()
           
 Set<String> getWebIds()
           
 void processDataSample(PortletRequestDataSample portletRequestDataSample)
           
 CompanyStatistics register(String webId)
           
 void reset()
           
 void reset(long companyId)
           
 void reset(String webId)
           
 void setCompanyLocalService(CompanyLocalService companyLocalService)
           
 void unregister(String webId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerStatistics

public ServerStatistics()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

getCompanyIds

public Set<Long> getCompanyIds()

getCompanyStatistics

public CompanyStatistics getCompanyStatistics(long companyId)
                                       throws MonitoringException
Throws:
MonitoringException

getCompanyStatistics

public CompanyStatistics getCompanyStatistics(String webId)
                                       throws MonitoringException
Throws:
MonitoringException

getCompanyStatisticsSet

public Set<CompanyStatistics> getCompanyStatisticsSet()

getPortletIds

public Set<String> getPortletIds()

getWebIds

public Set<String> getWebIds()

processDataSample

public void processDataSample(PortletRequestDataSample portletRequestDataSample)
                       throws MonitoringException
Specified by:
processDataSample in interface DataSampleProcessor<PortletRequestDataSample>
Throws:
MonitoringException

register

public CompanyStatistics register(String webId)

reset

public void reset()

reset

public void reset(long companyId)

reset

public void reset(String webId)

setCompanyLocalService

public void setCompanyLocalService(CompanyLocalService companyLocalService)

unregister

public void unregister(String webId)

Liferay 6.1.2-ce-ga3