MCPcopy Create free account
hub / github.com/cmu-db/benchbase / chooseTransaction

Method chooseTransaction

src/main/java/com/oltpbenchmark/Phase.java:156–158  ·  view source on GitHub ↗

This simply computes the next transaction by randomly selecting one based on the weights of this phase. @return

()

Source from the content-addressed store, hash-verified

154 * @return
155 */
156 public int chooseTransaction() {
157 return chooseTransaction(false);
158 }
159
160 public int chooseTransaction(boolean isColdQuery) {
161 if (isDisabled()) {

Callers 2

addToQueueMethod · 0.80
fetchWorkMethod · 0.80

Calls 6

isDisabledMethod · 0.95
isSerialMethod · 0.95
isTimedMethod · 0.95
totalWeightMethod · 0.95
getMethod · 0.45
nextIntMethod · 0.45

Tested by

no test coverage detected