| 69 | } |
| 70 | |
| 71 | void TimeSeriesCollector::StartDumperThread() { |
| 72 | LOG(INFO) << "Starting metrics dumper"; |
| 73 | CHECK(!started_); |
| 74 | exit_latch_.Reset(1); |
| 75 | started_ = true; |
| 76 | dumper_thread_ = thread([this]() { this->DumperThread(); }); |
| 77 | } |
| 78 | |
| 79 | void TimeSeriesCollector::StopDumperThread() { |
| 80 | CHECK(started_); |
nothing calls this directly
no test coverage detected