add Reason to CoordinatedShutdown, #24048

This commit is contained in:
Patrik Nordwall 2017-12-04 12:22:59 +01:00
parent fa3da328be
commit e49acb7daa
6 changed files with 116 additions and 28 deletions

View file

@ -832,7 +832,8 @@ public class ActorDocTest extends AbstractJavaTest {
// don't run this
if (false) {
//#coordinated-shutdown-run
CompletionStage<Done> done = CoordinatedShutdown.get(system).runAll();
CompletionStage<Done> done = CoordinatedShutdown.get(system).runAll(
CoordinatedShutdown.unknownReason());
//#coordinated-shutdown-run
}
}