summaryrefslogtreecommitdiff
path: root/src/mongo/db/prefetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/prefetch.h')
-rw-r--r--src/mongo/db/prefetch.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mongo/db/prefetch.h b/src/mongo/db/prefetch.h
index 3e97753da23..36310b40676 100644
--- a/src/mongo/db/prefetch.h
+++ b/src/mongo/db/prefetch.h
@@ -33,13 +33,8 @@
namespace mongo {
class Collection;
class Database;
+ class OperationContext;
// page in both index and data pages for an op from the oplog
- void prefetchPagesForReplicatedOp(Database* db, const BSONObj& op);
-
- // page in pages needed for all index lookups on a given object
- void prefetchIndexPages(Collection *nsd, const BSONObj& obj);
-
- // page in the data pages for a record associated with an object
- void prefetchRecordPages(const char *ns, const BSONObj& obj);
+ void prefetchPagesForReplicatedOp(OperationContext* txn, Database* db, const BSONObj& op);
}