Class InfinispanQueryStatisticsInfo

java.lang.Object
org.infinispan.query.impl.InfinispanQueryStatisticsInfo

@MBean(objectName="Statistics", description="Statistics for index based query") public final class InfinispanQueryStatisticsInfo extends Object
This MBean exposes the query statistics from the Hibernate Search's SearchIntegrator Statistics object via delegation. The Statistics object is transient during search factory in-flight reconfiguration so the instance returned by getStatistics() cannot be registered directly as an MBean.
Since:
6.1
Author:
anistor@redhat.com
  • Method Details

    • clear

      @ManagedOperation public void clear()
    • getSearchQueryExecutionCount

      @ManagedAttribute public long getSearchQueryExecutionCount()
    • getSearchQueryTotalTime

      @ManagedAttribute public long getSearchQueryTotalTime()
    • getSearchQueryExecutionMaxTime

      @ManagedAttribute public long getSearchQueryExecutionMaxTime()
    • getSearchQueryExecutionAvgTime

      @ManagedAttribute public long getSearchQueryExecutionAvgTime()
    • getSearchQueryExecutionMaxTimeQueryString

      @ManagedAttribute public String getSearchQueryExecutionMaxTimeQueryString()
    • getObjectLoadingTotalTime

      @ManagedAttribute public long getObjectLoadingTotalTime()
    • getObjectLoadingExecutionMaxTime

      @ManagedAttribute public long getObjectLoadingExecutionMaxTime()
    • getObjectLoadingExecutionAvgTime

      @ManagedAttribute public long getObjectLoadingExecutionAvgTime()
    • getObjectsLoadedCount

      @ManagedAttribute public long getObjectsLoadedCount()
    • isStatisticsEnabled

      @ManagedAttribute public boolean isStatisticsEnabled()
    • getSearchVersion

      @ManagedAttribute public String getSearchVersion()
    • getIndexedClassNames

      @ManagedAttribute public Set<String> getIndexedClassNames()
    • getNumberOfIndexedEntities

      @ManagedOperation public int getNumberOfIndexedEntities(String entity)
    • indexedEntitiesCount

      @ManagedOperation public Map<String,Integer> indexedEntitiesCount()
    • getIndexSize

      @ManagedOperation public long getIndexSize(String indexName)
    • indexSizes

      @ManagedOperation public Map<String,Long> indexSizes()
    • getLegacyQueryStatistics

      public Json getLegacyQueryStatistics()
    • computeLegacyIndexStatistics

      public CompletionStage<Json> computeLegacyIndexStatistics()