MCPcopy Create free account
hub / github.com/apple/foundationdb / liveActorAt

Method liveActorAt

fdbclient/include/fdbclient/KeyRangeMap.h:117–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
122private:
123 KeyRangeMap<Future<Void>> map;

Callers 2

validateMethod · 0.80
launchQueuedWorkMethod · 0.80

Calls 2

isValidMethod · 0.45
isReadyMethod · 0.45

Tested by

no test coverage detected