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

Method cancelStatement

src/main/java/com/oltpbenchmark/api/Worker.java:176–184  ·  view source on GitHub ↗

Stop executing the current statement.

()

Source from the content-addressed store, hash-verified

174
175 /** Stop executing the current statement. */
176 public synchronized void cancelStatement() {
177 try {
178 if (this.currStatement != null) {
179 this.currStatement.cancel();
180 }
181 } catch (SQLException e) {
182 LOG.error("Failed to cancel statement: {}", e.getMessage());
183 }
184 }
185
186 @Override
187 public final void run() {

Callers 1

interruptWorkersMethod · 0.80

Calls 1

cancelMethod · 0.80

Tested by

no test coverage detected