Class CancelOnInterruptWrapper<ResultT>

  • All Implemented Interfaces:
    Future<ResultT>

    @SdkInternalApi
    public final class CancelOnInterruptWrapper<ResultT>
    extends Object
    implements Future<ResultT>
    Wrapper that attempts to cancel the delegate future if the thread is interrupted within get().