public class StatisticsService extends Object implements org.picocontainer.Startable
| Constructor and Description |
|---|
StatisticsService(PluginStatisticService pluginStatisticService) |
| Modifier and Type | Method and Description |
|---|---|
void |
activeStatistics() |
void |
clear() |
void |
deactiveStatistics() |
String |
getDailySettingForAllUser() |
long |
getDigestCreatedCount()
Get global number of digest created
|
String |
getDigestDefaultSettingForAllUser() |
long |
getEntityDeleteCount()
Get global number of entity deletes
|
long |
getEntityInsertCount()
Get global number of entity insert
|
long |
getEntityLoadCount()
Get global number of entity load
|
org.exoplatform.commons.api.notification.stat.EntityStatistics |
getEntityStatistics(String nodeType) |
long |
getMessageCreatedCount()
Get global number of message created
|
long |
getNotificationCreatedCount()
Get global number of notification created
|
String[] |
getPluginNames()
Get the names of all entities
|
org.exoplatform.commons.api.notification.stat.PluginStatistics |
getPluginStatistics(String pluginId) |
String[] |
getQueries()
Get all executed query strings
|
long |
getQueryExecutionCount()
Get global number of executed queries
|
long |
getQueryExecutionMaxTime()
Get the time in milliseconds of the slowest query.
|
String |
getQueryExecutionMaxTimeQueryString()
Get the query string for the slowest query.
|
org.exoplatform.commons.api.notification.stat.QueryStatistics |
getQueryStatistics(String queryString) |
long |
getQueuePollCount()
Get global number of poll queue
|
long |
getQueuePutCount()
Get global number of put queue
|
org.exoplatform.commons.api.notification.stat.QueueStatistics |
getQueueStatistics(String pluginId) |
long |
getStartTime() |
org.exoplatform.commons.api.notification.stat.Statistics |
getStatistics() |
org.exoplatform.commons.api.notification.stat.StatisticsCollector |
getStatisticsCollector() |
String |
getWeeklySettingForAllUser() |
boolean |
isStatisticsEnabled() |
void |
setStatisticsEnabled(boolean enable) |
void |
start() |
void |
stop() |
public StatisticsService(PluginStatisticService pluginStatisticService)
public org.exoplatform.commons.api.notification.stat.Statistics getStatistics()
public org.exoplatform.commons.api.notification.stat.StatisticsCollector getStatisticsCollector()
public boolean isStatisticsEnabled()
isStatisticsEnabled()public void setStatisticsEnabled(boolean enable)
setStatisticsEnabled(boolean)public void activeStatistics()
public void deactiveStatistics()
public void clear()
public org.exoplatform.commons.api.notification.stat.PluginStatistics getPluginStatistics(String pluginId)
public org.exoplatform.commons.api.notification.stat.EntityStatistics getEntityStatistics(String nodeType)
public org.exoplatform.commons.api.notification.stat.QueueStatistics getQueueStatistics(String pluginId)
public org.exoplatform.commons.api.notification.stat.QueryStatistics getQueryStatistics(String queryString)
public String getDailySettingForAllUser()
public String getWeeklySettingForAllUser()
public String getDigestDefaultSettingForAllUser()
public long getMessageCreatedCount()
public long getNotificationCreatedCount()
public long getDigestCreatedCount()
public long getEntityDeleteCount()
public long getEntityLoadCount()
public long getEntityInsertCount()
public long getQueryExecutionCount()
public long getQueryExecutionMaxTime()
public String getQueryExecutionMaxTimeQueryString()
public long getQueuePutCount()
public long getQueuePollCount()
public String[] getQueries()
public String[] getPluginNames()
public long getStartTime()
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.StartableCopyright © 2003–2018 eXo Platform SAS. All rights reserved.