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

Method addWatch

fdbclient/NativeAPI.actor.cpp:2095–2100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2093}
2094
2095void DatabaseContext::addWatch() {
2096 if (outstandingWatches >= maxOutstandingWatches)
2097 throw too_many_watches();
2098
2099 ++outstandingWatches;
2100}
2101
2102void DatabaseContext::removeWatch() {
2103 --outstandingWatches;

Callers 1

watchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected