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

Method isSimulating

storm-client/src/jvm/org/apache/storm/utils/Time.java:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 private static final AtomicLong SIMULATED_CURR_TIME_NANOS = new AtomicLong(0);
37
38 public static boolean isSimulating() {
39 return SIMULATING.get();
40 }
41
42 public static void sleepUntil(long targetTimeMs) throws InterruptedException {
43 if (SIMULATING.get()) {

Callers 10

waitForReaderMethod · 0.95
completeTopologyMethod · 0.95
simulateWaitMethod · 0.95
LocalClusterMethod · 0.95
addSupervisorMethod · 0.95
shutdownAllWorkersMethod · 0.95
testSimulatedTimeMethod · 0.95

Calls 1

getMethod · 0.65

Tested by 5

completeTopologyMethod · 0.76
simulateWaitMethod · 0.76
testSimulatedTimeMethod · 0.76