MCPcopy Create free account
hub / github.com/MIT-DB-Class/simple-db-hw / getPage

Method getPage

src/java/simpledb/BufferPool.java:67–71  ·  view source on GitHub ↗

Retrieve the specified page with the associated permissions. Will acquire a lock and may block if that lock is held by another transaction. The retrieved page should be looked up in the buffer pool. If it is present, it should be returned. If it is not present, it should be added to the buffer

(TransactionId tid, PageId pid, Permissions perm)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

setUpMethod · 0.45
setUpMethod · 0.45
metaLockTesterMethod · 0.45
acquireThenReleaseMethod · 0.45
setUpMethod · 0.45
testReadWriteDeadlockMethod · 0.45
insertTupleMethod · 0.45
deleteTupleMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by 15

setUpMethod · 0.36
setUpMethod · 0.36
metaLockTesterMethod · 0.36
acquireThenReleaseMethod · 0.36
setUpMethod · 0.36
testReadWriteDeadlockMethod · 0.36
insertTupleMethod · 0.36
deleteTupleMethod · 0.36
runMethod · 0.36