public class GrpcCallTracker extends Object implements CallTracker
CallTracker
implementation for gRPC calls.CallTracker.Type
Constructor and Description |
---|
GrpcCallTracker(io.grpc.stub.StreamObserver<?> streamObserver)
Creates a call tracker for gRPC.
|
Modifier and Type | Method and Description |
---|---|
CallTracker.Type |
getType() |
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 clientpublic CallTracker.Type getType()
getType
in interface CallTracker
Copyright © 2023. All Rights Reserved.