Package io.quarkus.grpc.runtime.stork
Class StorkMeasuringCall<ReqT,RespT>
java.lang.Object
io.grpc.ClientCall<ReqT,RespT>
io.grpc.ForwardingClientCall<ReqT,RespT>
io.grpc.ForwardingClientCall.SimpleForwardingClientCall<ReqT,RespT>
io.quarkus.grpc.runtime.stork.StorkMeasuringCall<ReqT,RespT>
- All Implemented Interfaces:
StorkMeasuringCollector
abstract class StorkMeasuringCall<ReqT,RespT>
extends io.grpc.ForwardingClientCall.SimpleForwardingClientCall<ReqT,RespT>
implements StorkMeasuringCollector
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.ForwardingClientCall
io.grpc.ForwardingClientCall.SimpleForwardingClientCall<ReqT extends Object,RespT extends Object> Nested classes/interfaces inherited from class io.grpc.ClientCall
io.grpc.ClientCall.Listener<T extends Object> -
Field Summary
FieldsFields inherited from interface io.quarkus.grpc.runtime.stork.StorkMeasuringCollector
STORK_MEASURE_TIME, STORK_SERVICE_INSTANCE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStorkMeasuringCall(io.grpc.ClientCall<ReqT, RespT> delegate, boolean recordTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidio.grpc.AttributesvoidbooleanisReady()voidvoidvoidrequest(int arg0) protected abstract io.smallrye.stork.api.ServiceInstancevoidsetMessageCompression(boolean arg0) toString()Methods inherited from class io.grpc.ForwardingClientCall.SimpleForwardingClientCall
delegateMethods inherited from class io.grpc.ForwardingClientCall
sendMessage, start
-
Field Details
-
recordTime
final boolean recordTime
-
-
Constructor Details
-
StorkMeasuringCall
-
-
Method Details
-
serviceInstance
protected abstract io.smallrye.stork.api.ServiceInstance serviceInstance() -
recordReply
public void recordReply()- Specified by:
recordReplyin interfaceStorkMeasuringCollector
-
recordEnd
- Specified by:
recordEndin interfaceStorkMeasuringCollector
-
request
public void request(int arg0) -
cancel
-
halfClose
public void halfClose() -
setMessageCompression
public void setMessageCompression(boolean arg0) -
isReady
public boolean isReady() -
getAttributes
public io.grpc.Attributes getAttributes() -
toString
-