| 115 | void insert(const KeyRangeRef& keys, const Future<Void>& value) { map.insert(keys, value); } |
| 116 | void cancel(const KeyRangeRef& keys) { insert(keys, Future<Void>()); } |
| 117 | bool liveActorAt(const KeyRef& key) { |
| 118 | Future<Void> actorAt = map[key]; |
| 119 | return actorAt.isValid() && !actorAt.isReady(); |
| 120 | } |
| 121 | |
| 122 | private: |
| 123 | KeyRangeMap<Future<Void>> map; |
no test coverage detected