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

Method checkActive

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

check if timer is active.

()

Source from the content-addressed store, hash-verified

155 * check if timer is active.
156 */
157 private void checkActive() {
158 if (!this.task.isActive()) {
159 throw new IllegalStateException("Timer is not active");
160 }
161 }
162
163 /**
164 * cancel timer.

Callers 1

scheduleMsMethod · 0.95

Calls 1

isActiveMethod · 0.45

Tested by

no test coverage detected