Class IndexInfo
java.lang.Object
org.infinispan.query.core.stats.IndexInfo
- All Implemented Interfaces:
JsonSerialization
Runtime information about an index.
- Since:
- 12.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IndexInfo
@ProtoFactory public IndexInfo(long count, long size)
-
-
Method Details
-
count
@ProtoField(number=1, defaultValue="0") public long count()- Returns:
- Number of entities indexed.
-
size
@ProtoField(number=2, defaultValue="0") public long size()- Returns:
- Size of index in bytes.
-
merge
-
toJson
- Specified by:
toJsonin interfaceJsonSerialization
-
toString
-