Interface Statistics
public interface Statistics
Created by The eXo Platform SAS
Author : eXoPlatform
thanhvc@exoplatform.com
Oct 10, 2013
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Reset all statisticslongGet global number of entity insertlongGet global number of entity deleteslongGet global number of entity insertlongGet global number of entity loadgetEntityStatistics(String nodeType) Gets EntityStatistics by nodeTypelongGet global number of entity deleteslongGet global number of entity loadString[]Get the names of all entitiesgetPluginStatistics(String pluginId) Gets PluginStatistics by IdString[]Get all executed query stringslongGet global number of executed querieslongGet the time in milliseconds of the slowest query.Get the query string for the slowest query.getQueryStatistics(String queryString) Gets QueryStatistics by queryStringlongGet global number of poll queuelongGet global number of put queuegetQueueStatistics(String pluginId) Gets QueueStatistics by IdlongGets the start time of statistics processbooleanAre statistics loggedvoidsetStatisticsEnabled(boolean enable) Sets is running on statistic mode.
-
Method Details
-
clear
void clear()Reset all statistics -
getPluginStatistics
Gets PluginStatistics by Id- Returns:
-
getEntityStatistics
Gets EntityStatistics by nodeType- Returns:
-
getQueueStatistics
Gets QueueStatistics by Id- Returns:
-
getQueryStatistics
Gets QueryStatistics by queryString- Parameters:
queryString-- Returns:
-
getMessageCreatedCount
long getMessageCreatedCount()Get global number of entity deletes- Returns:
-
getNotificationCreatedCount
long getNotificationCreatedCount()Get global number of entity load- Returns:
-
getDigestCreatedCount
long getDigestCreatedCount()Get global number of entity insert- Returns:
-
getEntityDeleteCount
long getEntityDeleteCount()Get global number of entity deletes- Returns:
-
getEntityLoadCount
long getEntityLoadCount()Get global number of entity load- Returns:
-
getEntityInsertCount
long getEntityInsertCount()Get global number of entity insert- Returns:
-
getQueryExecutionCount
long getQueryExecutionCount()Get global number of executed queries- Returns:
-
getQueryExecutionMaxTime
long getQueryExecutionMaxTime()Get the time in milliseconds of the slowest query.- Returns:
-
getQueryExecutionMaxTimeQueryString
String getQueryExecutionMaxTimeQueryString()Get the query string for the slowest query. -
getQueuePutCount
long getQueuePutCount()Get global number of put queue- Returns:
-
getQueuePollCount
long getQueuePollCount()Get global number of poll queue- Returns:
-
isStatisticsEnabled
boolean isStatisticsEnabled()Are statistics logged -
getQueries
String[] getQueries()Get all executed query strings -
getPluginNames
String[] getPluginNames()Get the names of all entities -
getStartTime
long getStartTime()Gets the start time of statistics process- Returns:
-
setStatisticsEnabled
void setStatisticsEnabled(boolean enable) Sets is running on statistic mode.- Parameters:
enable-
-