javafmt
This commit is contained in:
parent
6c12ae117a
commit
6ca92cc543
1 changed files with 2 additions and 2 deletions
|
|
@ -60,8 +60,8 @@ public class Monitor {
|
||||||
|
|
||||||
// Periodically check the monitor
|
// Periodically check the monitor
|
||||||
Source.tick(Duration.ofMillis(200), Duration.ofMillis(400), "")
|
Source.tick(Duration.ofMillis(200), Duration.ofMillis(400), "")
|
||||||
.runForeach(__ -> printMonitorState(monitor.state()), actorSystem);
|
.runForeach(__ -> printMonitorState(monitor.state()), actorSystem);
|
||||||
// #monitor
|
// #monitor
|
||||||
|
|
||||||
run.second().toCompletableFuture().whenComplete((x, t) -> actorSystem.terminate());
|
run.second().toCompletableFuture().whenComplete((x, t) -> actorSystem.terminate());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue