Interface GrpcProductionComponent<Resp>
-
- Type Parameters:
Resp- The response type of the service.
@Deprecated public interface GrpcProductionComponent<Resp>Deprecated.Define theListenableFuture<Resp> execute()in your components. When usingBindsInstance, the boilerplate savings of this interface are too low to warrant it.An interface forProductionComponents that handle a gRPC service method. These components always only have a single request and single asynchronous response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceGrpcProductionComponent.GrpcProductionComponentBuilder<G,C extends GrpcProductionComponent,Self extends GrpcProductionComponent.GrpcProductionComponentBuilder>Deprecated.UseBindsInstanceinstead of passing theProducerModuleinto the component.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<Resp>execute()Deprecated.Execute the graph to compute the response.
-
-
-
Method Detail
-
execute
com.google.common.util.concurrent.ListenableFuture<Resp> execute()
Deprecated.Execute the graph to compute the response.
-
-