Package org.infinispan.query.impl
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 public void clear() -
getSearchQueryExecutionCount
@ManagedAttribute public long getSearchQueryExecutionCount() -
getSearchQueryTotalTime
@ManagedAttribute public long getSearchQueryTotalTime() -
getSearchQueryExecutionMaxTime
@ManagedAttribute public long getSearchQueryExecutionMaxTime() -
getSearchQueryExecutionAvgTime
@ManagedAttribute public long getSearchQueryExecutionAvgTime() -
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
-
getIndexedClassNames
-
getNumberOfIndexedEntities
-
indexedEntitiesCount
-
getIndexSize
-
indexSizes
-
getLegacyQueryStatistics
-
computeLegacyIndexStatistics
-