Class IndexStatistics

java.lang.Object
org.bedework.calfacade.indexing.IndexStatistics

public class IndexStatistics extends Object
Class to collect indexing statistics
Author:
douglm
  • Constructor Details

    • IndexStatistics

      public IndexStatistics(String name)
      Parameters:
      name - - name of the statistics
  • Method Details

    • getName

      public String getName()
    • getCount

      public long getCount(BwIndexer.IndexedType type)
    • inc

      public void inc(BwIndexer.IndexedType type)
      Parameters:
      type - - type of count
    • inc

      public void inc(BwIndexer.IndexedType type, long val)
      Parameters:
      type - - type of count
      val - - value to add
    • toStringSegment

      public void toStringSegment(org.bedework.util.misc.ToString ts)
    • toString

      public String toString()
      Overrides:
      toString in class Object