Interface StatisticsImplementor

All Known Implementing Classes:
StatisticsImpl

public interface StatisticsImplementor
Statistics SPI for the Search. This is essentially the "statistic collector" API.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    objectLoadExecuted(long numberOfObjectsLoaded, long time)
    Callback for number of object loaded from the db.
    void
    searchExecuted(String searchString, long time)
    Callback for an executed Lucene search.
  • Method Details

    • objectLoadExecuted

      void objectLoadExecuted(long numberOfObjectsLoaded, long time)
      Callback for number of object loaded from the db.
      Parameters:
      numberOfObjectsLoaded - Number of objects loaded
      time - time in nanoseconds to load the objects
    • searchExecuted

      void searchExecuted(String searchString, long time)
      Callback for an executed Lucene search.
      Parameters:
      searchString - executed query string
      time - time in nanoseconds to execute the search