Package org.hibernate.search.stat
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 TypeMethodDescriptionvoidobjectLoadExecuted(long numberOfObjectsLoaded, long time) Callback for number of object loaded from the db.voidsearchExecuted(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 loadedtime- time in nanoseconds to load the objects
-
searchExecuted
Callback for an executed Lucene search.- Parameters:
searchString- executed query stringtime- time in nanoseconds to execute the search
-