MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / writePage

Method writePage

src/java/simpledb/storage/DbFile.java:34–34  ·  view source on GitHub ↗

Push the specified page to disk. @param p The page to write. page.getId().pageno() specifies the offset into the file where the page should be written. @throws IOException if the write fails

(Page p)

Source from the content-addressed store, hash-verified

32 *
33 */
34 void writePage(Page p) throws IOException;
35
36 /**
37 * Inserts the specified tuple to the file on behalf of transaction.

Callers 10

rollbackMethod · 0.95
recoverMethod · 0.95
recoverSearchMethod · 0.95
flushAllPagesMethod · 0.95
flushPageMethod · 0.95
flushPagesMethod · 0.95
setRightSiblingPtrsMethod · 0.65
setParentsMethod · 0.65
cleanUpEntriesMethod · 0.65
updateEntriesMethod · 0.65

Implementers 3

SkeletonFiletest/simpledb/TestUtil.java
HeapFilesrc/java/simpledb/storage/HeapFile.jav
BTreeFilesrc/java/simpledb/index/BTreeFile.java

Calls

no outgoing calls

Tested by

no test coverage detected