com.liferay.portal.monitoring.statistics.portal
Class ServerStatistics
java.lang.Object
com.liferay.portal.monitoring.statistics.portal.ServerStatistics
- All Implemented Interfaces:
- DataSampleProcessor<PortalRequestDataSample>
public class ServerStatistics
- extends Object
- implements DataSampleProcessor<PortalRequestDataSample>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerStatistics
public ServerStatistics()
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()
getWebIds
public Set<String> getWebIds()
processDataSample
public void processDataSample(PortalRequestDataSample portalRequestDataSample)
- Specified by:
processDataSample
in interface DataSampleProcessor<PortalRequestDataSample>
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)