Interface Statistics


  • public interface Statistics
    Created by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com Oct 10, 2013
    • Method Detail

      • clear

        void clear()
        Reset all statistics
      • getPluginStatistics

        PluginStatistics getPluginStatistics​(String pluginId)
        Gets PluginStatistics by Id
        Returns:
      • getEntityStatistics

        EntityStatistics getEntityStatistics​(String nodeType)
        Gets EntityStatistics by nodeType
        Returns:
      • getQueueStatistics

        QueueStatistics getQueueStatistics​(String pluginId)
        Gets QueueStatistics by Id
        Returns:
      • getQueryStatistics

        QueryStatistics getQueryStatistics​(String queryString)
        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 -