Interface GrpcProductionComponent<Resp>

  • Type Parameters:
    Resp - The response type of the service.

    public interface GrpcProductionComponent<Resp>
    Define the ListenableFuture<Resp> execute() in your components. When using BindsInstance, the boilerplate savings of this interface are too low to warrant it.
    An interface for ProductionComponents that handle a gRPC service method. These components always only have a single request and single asynchronous response.
    • Method Detail

      • execute<Resp> execute()
        Execute the graph to compute the response.