@Override
    public void blockingHello(HelloRequest request, AsyncMethodCallback<HelloReply> resultHandler)
            throws TException {

        ServiceRequestContext.current().blockingTaskExecutor().execute(() -> {
            try {
                // Simulate a blocking API call.
                Thread.sleep(3000);
            } catch (Exception ignored) {
                // Do nothing.
            }
            resultHandler.onComplete(buildReply(toMessage(request.getName())));
        });
    }
Sends a {@link HelloReply} using {@code blockingTaskExecutor}.
examples/thrift/src/main/java/example/armeria/thrift/HelloServiceImpl.java