Class SyncFutureWaiter

  • All Implemented Interfaces:
    Executor

    public final class SyncFutureWaiter
    extends Object
    implements Executor
    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.