Package org.infinispan.query.core.stats
Interface IndexStatisticsSnapshot
- All Superinterfaces:
IndexStatistics,org.infinispan.commons.dataconversion.internal.JsonSerialization
- All Known Implementing Classes:
IndexStatisticsSnapshotImpl
public interface IndexStatisticsSnapshot
extends IndexStatistics, org.infinispan.commons.dataconversion.internal.JsonSerialization
A snapshot of
IndexStatistics.- Since:
- 12.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<Map<String,IndexInfo>> default CompletionStage<IndexStatisticsSnapshot>merge(IndexStatisticsSnapshot other) Merge with anotherIndexStatisticsSnapshot.Methods inherited from interface org.infinispan.query.core.stats.IndexStatistics
reindexingMethods inherited from interface org.infinispan.commons.dataconversion.internal.JsonSerialization
toJson
-
Method Details
-
indexedEntities
- Specified by:
indexedEntitiesin interfaceIndexStatistics- Returns:
- The name of all indexed entities configured in the cache. The name of the entity is either the class name annotated with @Index, or the protobuf Message name.
-
computeIndexInfos
- Specified by:
computeIndexInfosin interfaceIndexStatistics- Returns:
- The
IndexInfofor each indexed entity configured in the cache. The name of the entity is either the class name annotated with @Index, or the protobuf Message name.
-
computeSnapshot
- Specified by:
computeSnapshotin interfaceIndexStatistics
-
indexInfos
- Returns:
- The
IndexInfofor each indexed entity configured in the cache. The name of the entity is either the class name annotated with @Index, or the protobuf Message name.
-
merge
Merge with anotherIndexStatisticsSnapshot.- Returns:
- self
-