summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/devnull/devnull_kv_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/devnull/devnull_kv_engine.h')
-rw-r--r--src/mongo/db/storage/devnull/devnull_kv_engine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/storage/devnull/devnull_kv_engine.h b/src/mongo/db/storage/devnull/devnull_kv_engine.h
index e753e8805c0..04900f06fae 100644
--- a/src/mongo/db/storage/devnull/devnull_kv_engine.h
+++ b/src/mongo/db/storage/devnull/devnull_kv_engine.h
@@ -97,9 +97,9 @@ public:
return true;
}
- virtual bool isCacheUnderPressure(OperationContext* opCtx) const override;
+ virtual int64_t getCacheOverflowTableInsertCount(OperationContext* opCtx) const override;
- virtual void setCachePressureForTest(int pressure) override;
+ virtual void setCacheOverflowTableInsertCountForTest(int insertCount) override;
virtual int64_t getIdentSize(OperationContext* opCtx, StringData ident) {
return 1;
@@ -150,6 +150,6 @@ public:
private:
std::shared_ptr<void> _catalogInfo;
- int _cachePressureForTest;
+ int _overflowTableInsertCountForTest;
};
}