public class ThreadLocalStatisticsImpl extends Object implements org.exoplatform.commons.api.notification.stat.Statistics, org.exoplatform.commons.api.notification.stat.StatisticsCollector
| Constructor and Description |
|---|
ThreadLocalStatisticsImpl(PluginStatisticService pluginStatistic) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
createDigestCount(String pluginId) |
void |
createMessageInfoCount(String pluginId) |
void |
createNotificationInfoCount(String pluginId) |
void |
deleteEntity(String nodeType) |
long |
getDigestCreatedCount() |
long |
getEntityDeleteCount() |
long |
getEntityInsertCount() |
long |
getEntityLoadCount() |
org.exoplatform.commons.api.notification.stat.EntityStatistics |
getEntityStatistics(String nodeType) |
long |
getMessageCreatedCount() |
long |
getNotificationCreatedCount() |
String[] |
getPluginNames() |
org.exoplatform.commons.api.notification.stat.PluginStatistics |
getPluginStatistics(String pluginId) |
String[] |
getQueries() |
long |
getQueryExecutionCount() |
long |
getQueryExecutionMaxTime() |
String |
getQueryExecutionMaxTimeQueryString() |
org.exoplatform.commons.api.notification.stat.QueryStatistics |
getQueryStatistics(String queryString) |
long |
getQueuePollCount() |
long |
getQueuePutCount() |
org.exoplatform.commons.api.notification.stat.QueueStatistics |
getQueueStatistics(String pluginId) |
long |
getStartTime() |
void |
insertEntity(String nodeType) |
boolean |
isStatisticsEnabled() |
void |
loadEntity(String nodeType) |
void |
pollQueue(String pluginId) |
void |
putQueue(String pluginId) |
void |
queryExecuted(String statement,
long rows,
long time) |
void |
setStatisticsEnabled(boolean enable) |
String |
toString() |
void |
updateEntity(String nodeType) |
public ThreadLocalStatisticsImpl(PluginStatisticService pluginStatistic)
public void clear()
clear in interface org.exoplatform.commons.api.notification.stat.Statisticspublic void createMessageInfoCount(String pluginId)
createMessageInfoCount in interface org.exoplatform.commons.api.notification.stat.StatisticsCollectorpublic void createNotificationInfoCount(String pluginId)
createNotificationInfoCount in interface org.exoplatform.commons.api.notification.stat.StatisticsCollectorpublic void createDigestCount(String pluginId)
createDigestCount in interface org.exoplatform.commons.api.notification.stat.StatisticsCollectorpublic void deleteEntity(String nodeType)
deleteEntity in interface org.exoplatform.commons.api.notification.stat.StatisticsCollectorpublic void insertEntity(String nodeType)
insertEntity in interface org.exoplatform.commons.api.notification.stat.StatisticsCollectorpublic void updateEntity(String nodeType)
updateEntity in interface org.exoplatform.commons.api.notification.stat.StatisticsCollectorpublic void loadEntity(String nodeType)
loadEntity in interface org.exoplatform.commons.api.notification.stat.StatisticsCollectorpublic void queryExecuted(String statement, long rows, long time)
queryExecuted in interface org.exoplatform.commons.api.notification.stat.StatisticsCollectorpublic void pollQueue(String pluginId)
pollQueue in interface org.exoplatform.commons.api.notification.stat.StatisticsCollectorpublic void putQueue(String pluginId)
putQueue in interface org.exoplatform.commons.api.notification.stat.StatisticsCollectorpublic org.exoplatform.commons.api.notification.stat.PluginStatistics getPluginStatistics(String pluginId)
getPluginStatistics in interface org.exoplatform.commons.api.notification.stat.Statisticspublic org.exoplatform.commons.api.notification.stat.EntityStatistics getEntityStatistics(String nodeType)
getEntityStatistics in interface org.exoplatform.commons.api.notification.stat.Statisticspublic org.exoplatform.commons.api.notification.stat.QueueStatistics getQueueStatistics(String pluginId)
getQueueStatistics in interface org.exoplatform.commons.api.notification.stat.Statisticspublic org.exoplatform.commons.api.notification.stat.QueryStatistics getQueryStatistics(String queryString)
getQueryStatistics in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getEntityDeleteCount()
getEntityDeleteCount in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getEntityLoadCount()
getEntityLoadCount in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getEntityInsertCount()
getEntityInsertCount in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getQueryExecutionCount()
getQueryExecutionCount in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getQueryExecutionMaxTime()
getQueryExecutionMaxTime in interface org.exoplatform.commons.api.notification.stat.Statisticspublic String getQueryExecutionMaxTimeQueryString()
getQueryExecutionMaxTimeQueryString in interface org.exoplatform.commons.api.notification.stat.Statisticspublic boolean isStatisticsEnabled()
isStatisticsEnabled in interface org.exoplatform.commons.api.notification.stat.Statisticspublic String[] getQueries()
getQueries in interface org.exoplatform.commons.api.notification.stat.Statisticspublic String[] getPluginNames()
getPluginNames in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getStartTime()
getStartTime in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getQueuePutCount()
getQueuePutCount in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getQueuePollCount()
getQueuePollCount in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getMessageCreatedCount()
getMessageCreatedCount in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getNotificationCreatedCount()
getNotificationCreatedCount in interface org.exoplatform.commons.api.notification.stat.Statisticspublic long getDigestCreatedCount()
getDigestCreatedCount in interface org.exoplatform.commons.api.notification.stat.Statisticspublic void setStatisticsEnabled(boolean enable)
setStatisticsEnabled in interface org.exoplatform.commons.api.notification.stat.StatisticsCopyright © 2003–2015 eXo Platform SAS. All rights reserved.