Package io.quarkus.grpc.runtime.stork
Class AbstractStorkMeasuringCall<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.AbstractStorkMeasuringCall<ReqT,RespT>
-
- All Implemented Interfaces:
StorkMeasuringCollector
abstract class AbstractStorkMeasuringCall<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
Fields Modifier and Type Field Description (package private) booleanrecordTime-
Fields inherited from interface io.quarkus.grpc.runtime.stork.StorkMeasuringCollector
STORK_MEASURE_TIME, STORK_SERVICE_INSTANCE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractStorkMeasuringCall(io.grpc.ClientCall<ReqT,RespT> delegate, boolean recordTime)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcancel(String arg0, Throwable arg1)io.grpc.AttributesgetAttributes()voidhalfClose()booleanisReady()voidrecordEnd(Throwable error)voidrecordReply()voidrequest(int arg0)protected abstract io.smallrye.stork.api.ServiceInstanceserviceInstance()voidsetMessageCompression(boolean arg0)StringtoString()
-
-
-
Method Detail
-
serviceInstance
protected abstract io.smallrye.stork.api.ServiceInstance serviceInstance()
-
recordReply
public void recordReply()
- Specified by:
recordReplyin interfaceStorkMeasuringCollector
-
recordEnd
public void recordEnd(Throwable error)
- Specified by:
recordEndin interfaceStorkMeasuringCollector
-
request
public void request(int arg0)
-
halfClose
public void halfClose()
-
setMessageCompression
public void setMessageCompression(boolean arg0)
-
isReady
public boolean isReady()
-
getAttributes
public io.grpc.Attributes getAttributes()
-
-