Package org.mycore.solr.index.statistic
Class MCRSolrIndexStatistic
java.lang.Object
org.mycore.solr.index.statistic.MCRSolrIndexStatistic
- Author:
- Thomas Scheffler (yagee)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
addDocument
(int docs) long
addTime
(long time) long
int
double
reset()
resets statistic and returns average time in ms per document.
-
Constructor Details
-
MCRSolrIndexStatistic
-
-
Method Details
-
addTime
public long addTime(long time) -
addDocument
public int addDocument(int docs) -
getAccumulatedTime
public long getAccumulatedTime() -
getDocuments
public int getDocuments() -
reset
public double reset()resets statistic and returns average time in ms per document.
-