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

Method commit

src/java/simpledb/transaction/Transaction.java:35–37  ·  view source on GitHub ↗

Finish the transaction

()

Source from the content-addressed store, hash-verified

33
34 /** Finish the transaction */
35 public void commit() throws IOException {
36 transactionComplete(false);
37 }
38
39 /** Finish the transaction */
40 public void abort() throws IOException {

Callers 15

runMethod · 0.95
testAllDirtyFailsMethod · 0.95
doInsertMethod · 0.95
TestCommitCrashMethod · 0.95
TestAbortMethod · 0.95
TestAbortCrashMethod · 0.95
TestOpenCrashMethod · 0.95

Calls 1

transactionCompleteMethod · 0.95

Tested by 12

runMethod · 0.76
testAllDirtyFailsMethod · 0.76
doInsertMethod · 0.76
TestCommitCrashMethod · 0.76
TestAbortMethod · 0.76
TestAbortCrashMethod · 0.76
TestOpenCrashMethod · 0.76