Class IndexInfo

java.lang.Object
org.infinispan.query.core.stats.IndexInfo
All Implemented Interfaces:
JsonSerialization

@ProtoTypeId(4204) public class IndexInfo extends Object implements JsonSerialization
Runtime information about an index.
Since:
12.0
  • 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

      public IndexInfo merge(IndexInfo indexInfo)
    • toJson

      public Json toJson()
      Specified by:
      toJson in interface JsonSerialization
    • toString

      public String toString()
      Overrides:
      toString in class Object