MCPcopy Create free account
hub / github.com/apache/storm / close

Method close

storm-client/src/jvm/org/apache/storm/StormTimer.java:167–174  ·  view source on GitHub ↗

cancel timer.

()

Source from the content-addressed store, hash-verified

165 */
166
167 @Override
168 public void close() throws InterruptedException {
169 if (this.task.isActive()) {
170 this.task.setActive(false);
171 this.task.interrupt();
172 this.task.join();
173 }
174 }
175
176 /**
177 * is timer waiting. Used in timer simulation.

Callers

nothing calls this directly

Calls 3

isActiveMethod · 0.45
setActiveMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected