Interface GrpcProductionComponent<Resp>

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

    @Deprecated
    public interface GrpcProductionComponent<Resp>
    Deprecated.
    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

        com.google.common.util.concurrent.ListenableFuture<Resp> execute()
        Deprecated.
        Execute the graph to compute the response.