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

Method waitStorageMetrics

fdbclient/NativeAPI.actor.cpp:7503–7517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7501}
7502
7503Future<std::pair<Optional<StorageMetrics>, int>> DatabaseContext::waitStorageMetrics(
7504 KeyRange const& keys,
7505 StorageMetrics const& min,
7506 StorageMetrics const& max,
7507 StorageMetrics const& permittedError,
7508 int shardLimit,
7509 int expectedShardCount) {
7510 return ::waitStorageMetrics(Database(Reference<DatabaseContext>::addRef(this)),
7511 keys,
7512 min,
7513 max,
7514 permittedError,
7515 shardLimit,
7516 expectedShardCount);
7517}
7518
7519Future<StorageMetrics> DatabaseContext::getStorageMetrics(KeyRange const& keys, int shardLimit) {
7520 if (shardLimit > 0) {

Callers 1

Calls 1

DatabaseClass · 0.50

Tested by

no test coverage detected