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.

Author:
Hardy Ferentschik

Method Summary
 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 Detail

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


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved