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

Method startInserter

test/simpledb/systemtest/BTreeTest.java:36–41  ·  view source on GitHub ↗

Helper method to clean up the syntax of starting a BTreeInserter thread. The parameters pass through to the BTreeInserter constructor.

(BTreeFile bf, int[] tupdata, BlockingQueue<List<Integer>> insertedTuples)

Source from the content-addressed store, hash-verified

34 * The parameters pass through to the BTreeInserter constructor.
35 */
36 public BTreeInserter startInserter(BTreeFile bf, int[] tupdata, BlockingQueue<List<Integer>> insertedTuples) {
37
38 BTreeInserter bi = new BTreeInserter(bf, tupdata, insertedTuples);
39 bi.start();
40 return bi;
41 }
42
43 /**
44 * Helper method to clean up the syntax of starting a BTreeDeleter thread.

Callers 1

testBigFileMethod · 0.95

Calls 1

startMethod · 0.45

Tested by

no test coverage detected