7 #ifndef TIMELIMITINGCOLLECTOR_H
8 #define TIMELIMITINGCOLLECTOR_H
31 static const int32_t DEFAULT_RESOLUTION;
50 static int64_t getResolution();
63 static void setResolution(int64_t newResolution);
66 static void stopTimer();
78 void setGreedy(
bool greedy);
82 virtual void collect(int32_t doc);
84 virtual void setNextReader(
const IndexReaderPtr& reader, int32_t docBase);
85 virtual void setScorer(
const ScorerPtr& scorer);
86 virtual bool acceptsDocsOutOfOrder();
92 friend class TimerThread;