7 #ifndef TIMELIMITINGCOLLECTOR_H
8 #define TIMELIMITINGCOLLECTOR_H
32 static const int32_t DEFAULT_RESOLUTION;
51 static int64_t getResolution();
64 static void setResolution(int64_t newResolution);
67 static void stopTimer();
79 void setGreedy(
bool greedy);
83 virtual void collect(int32_t doc);
85 virtual void setNextReader(
IndexReaderPtr reader, int32_t docBase);
87 virtual bool acceptsDocsOutOfOrder();
93 friend class TimerThread;