summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/storage_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/storage_engine.h')
-rw-r--r--src/mongo/db/storage/storage_engine.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mongo/db/storage/storage_engine.h b/src/mongo/db/storage/storage_engine.h
index 98285ff0f30..8d7df601b5a 100644
--- a/src/mongo/db/storage/storage_engine.h
+++ b/src/mongo/db/storage/storage_engine.h
@@ -517,21 +517,6 @@ public:
virtual void setOldestActiveTransactionTimestampCallback(
OldestActiveTransactionTimestampCallback callback) = 0;
- /**
- * Indicates whether the storage engine cache is under pressure.
- *
- * Retrieves a cache pressure value in the range [0, 100] from the storage engine, and compares
- * it against storageGlobalParams.cachePressureThreshold, a dynamic server parameter, to
- * determine whether cache pressure is too high.
- */
- virtual bool isCacheUnderPressure(OperationContext* opCtx) const = 0;
-
- /**
- * For unit tests only. Sets the cache pressure value with which isCacheUnderPressure()
- * evalutates to 'pressure'.
- */
- virtual void setCachePressureForTest(int pressure) = 0;
-
struct IndexIdentifier {
const RecordId catalogId;
const NamespaceString nss;