Reserves capacity for the queue. This doesn't affect the queue of the high prio items.
| 75 | /// Reserves capacity for the queue. This doesn't affect the queue of the high prio |
| 76 | /// items. |
| 77 | void Reserve(int64_t capacity) { |
| 78 | std::lock_guard<std::mutex> lock(scan_range_queue_lock_); |
| 79 | scan_range_queue_.Reserve(capacity); |
| 80 | } |
| 81 | |
| 82 | private: |
| 83 | DISALLOW_COPY_AND_ASSIGN(ScanRangeQueueMt); |
no outgoing calls
no test coverage detected