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 forProductionComponent
s 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 interface
GrpcProductionComponent.GrpcProductionComponentBuilder<G,C extends GrpcProductionComponent,Self extends GrpcProductionComponent.GrpcProductionComponentBuilder>
Deprecated.UseBindsInstance
instead of passing theProducerModule
into 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.
-
-