| 43 | , _usable_cache_time_ms(0) { } |
| 44 | |
| 45 | void DefaultClusterRecoverPolicy::StartRecover() { |
| 46 | std::unique_lock<butil::Mutex> mu(_mutex); |
| 47 | _recovering = true; |
| 48 | } |
| 49 | |
| 50 | bool DefaultClusterRecoverPolicy::StopRecoverIfNecessary() { |
| 51 | if (!_recovering) { |
no outgoing calls
no test coverage detected