public class GrpcCallTracker extends Object implements CallTracker
CallTracker
implementation for gRPC calls.DISABLED_TRACKER, NOOP_TRACKER
Constructor and Description |
---|
GrpcCallTracker(io.grpc.stub.StreamObserver<?> streamObserver)
Creates a call tracker for gRPC.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelled() |
public GrpcCallTracker(io.grpc.stub.StreamObserver<?> streamObserver)
streamObserver
- server stream observerpublic boolean isCancelled()
isCancelled
in interface CallTracker
true
if call is cancelled by the clientCopyright © 2023. All Rights Reserved.