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)
| 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. |