Package org.infinispan.query.core.stats
Interface QueryStatisticsSnapshot
- All Superinterfaces:
org.infinispan.commons.dataconversion.internal.JsonSerialization,QueryStatistics
- All Known Implementing Classes:
LocalQueryStatistics
public interface QueryStatisticsSnapshot
extends QueryStatistics, org.infinispan.commons.dataconversion.internal.JsonSerialization
A snapshot of
QueryStatistics.- Since:
- 12.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<QueryStatisticsSnapshot>merge(QueryStatisticsSnapshot other) Merge with anotherQueryStatisticsSnapshotMethods inherited from interface org.infinispan.commons.dataconversion.internal.JsonSerialization
toJsonMethods inherited from interface org.infinispan.query.core.stats.QueryStatistics
clear, getDistributedIndexedQueryAvgTime, getDistributedIndexedQueryCount, getDistributedIndexedQueryMaxTime, getDistributedIndexedQueryTotalTime, getHybridQueryAvgTime, getHybridQueryCount, getHybridQueryMaxTime, getHybridQueryTotalTime, getLoadAvgTime, getLoadCount, getLoadMaxTime, getLoadTotalTime, getLocalIndexedQueryAvgTime, getLocalIndexedQueryCount, getLocalIndexedQueryMaxTime, getLocalIndexedQueryTotalTime, getNonIndexedQueryAvgTime, getNonIndexedQueryCount, getNonIndexedQueryMaxTime, getNonIndexedQueryTotalTime, getSlowestDistributedIndexedQuery, getSlowestHybridQuery, getSlowestLocalIndexedQuery, getSlowestNonIndexedQuery, isEnabled
-
Method Details
-
computeSnapshot
- Specified by:
computeSnapshotin interfaceQueryStatistics- Returns:
- A snapshot of self.
-
merge
Merge with anotherQueryStatisticsSnapshot- Returns:
- self.
-