public final class SyncFutureWaiter
Helper class that can wait for the result of some
future, and do some work registered through the Executor interface while waiting.
The purpose of this is to make execution of synchronous methods look more synchronous, e.g.
stack traces should actually contain the caller.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void execute(Runnable command)
public <R> R listenForResult(CompletionStage<R> stage)
Copyright © 2016–2023. All rights reserved.