protected < V > CompletableFuture < V > callAsyncWithoutFencing ( Callable < V > callable , Time timeout ) { if ( rpcServer instanceof FencedMainThreadExecutable ) { return ( ( FencedMainThreadExecutable ) rpcServer ) . callAsyncWithoutFencing ( callable , timeout ) ; } else { throw new RuntimeException ( "FencedRpcEndpoint has not been started with a FencedMainThreadExecutable RpcServer." ) ; } }
Run the given callable in the main thread of the RpcEndpoint without checking the fencing token . This allows to run operations outside of the fencing token scope .