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 Summary
Modifier and TypeMethodDescriptionvoid
clear()
long
getIndexSize
(String indexName) int
getNumberOfIndexedEntities
(String entity) long
long
long
long
long
long
long
long
boolean
-
Method Details
-
clear
@ManagedOperation(description="Clear all query statistics.", displayName="Clear query statistics.") public void clear() -
getSearchQueryExecutionCount
@ManagedAttribute(description="Number of queries executed in the local index.", displayName="Local indexed query count.") public long getSearchQueryExecutionCount() -
getSearchQueryTotalTime
@ManagedAttribute(description="The total time in nanoseconds of all indexed queries.", displayName="Local indexed query total time.") public long getSearchQueryTotalTime() -
getSearchQueryExecutionMaxTime
@ManagedAttribute(description="The time in nanoseconds of the slowest indexed query.", displayName="Local indexed query max time.") public long getSearchQueryExecutionMaxTime() -
getSearchQueryExecutionAvgTime
@ManagedAttribute(description="The average time in nanoseconds of all indexed queries.", displayName="Local indexed query avg time.") public long getSearchQueryExecutionAvgTime() -
getSearchQueryExecutionMaxTimeQueryString
@ManagedAttribute(description="The Ickle query string of the slowest indexed query.", displayName="Local slowest query.") public String getSearchQueryExecutionMaxTimeQueryString() -
getObjectLoadingTotalTime
@ManagedAttribute(description="The total time to load entities from a Cache after an indexed query.", displayName="Entity loading total time.") public long getObjectLoadingTotalTime() -
getObjectLoadingExecutionMaxTime
@ManagedAttribute(description="The max time in nanoseconds to load entities from a Cache after an indexed query.", displayName="Entity loading max time.") public long getObjectLoadingExecutionMaxTime() -
getObjectLoadingExecutionAvgTime
@ManagedAttribute(description=" The average time in nanoseconds to load entities from a Cache after an indexed query.", displayName="Entity loading avg time.") public long getObjectLoadingExecutionAvgTime() -
getObjectsLoadedCount
@ManagedAttribute(description="The number of operations to load entities from a Cache after an indexed query.", displayName="Entity loading count.") public long getObjectsLoadedCount() -
isStatisticsEnabled
@ManagedAttribute(description="True if the Cache has statistics enabled.", displayName="Statistics enabled.") public boolean isStatisticsEnabled() -
getSearchVersion
@ManagedAttribute(description="The Hibernate Search version used as query engine for the cache.", displayName="Hibernate Search version.") public String getSearchVersion() -
getIndexedClassNames
-
getNumberOfIndexedEntities
@ManagedOperation(description="The number of indexed entities for a given entity.", displayName="Indexed entries by entity.") public int getNumberOfIndexedEntities(String entity) -
indexedEntitiesCount
-
getIndexSize
@ManagedOperation(description="The index size for a given index name.", displayName="Index size by name.") public long getIndexSize(String indexName) -
indexSizes
-
getLegacyQueryStatistics
-
computeLegacyIndexStatistics
-