Class TracedServerStreamingCallable<RequestT,ResponseT> (2.58.0)

public final class TracedServerStreamingCallable<RequestT,ResponseT> extends ServerStreamingCallable<RequestT,ResponseT>

A wrapper callable that will wrap a callable chain in a trace.

For internal use only.

Inheritance

java.lang.Object > ServerStreamingCallable > TracedServerStreamingCallable<RequestT,ResponseT>

Type Parameters

Name Description
RequestT
ResponseT

Constructors

TracedServerStreamingCallable(ServerStreamingCallable<RequestT,ResponseT> innerCallable, ApiTracerFactory tracerFactory, SpanName spanName)

public TracedServerStreamingCallable(ServerStreamingCallable<RequestT,ResponseT> innerCallable, ApiTracerFactory tracerFactory, SpanName spanName)
Parameters
Name Description
innerCallable ServerStreamingCallable<RequestT,ResponseT>
tracerFactory ApiTracerFactory
spanName SpanName

Methods

call(RequestT request, ResponseObserver<ResponseT> responseObserver, ApiCallContext context)

public void call(RequestT request, ResponseObserver<ResponseT> responseObserver, ApiCallContext context)

Conduct a server streaming call with the given ApiCallContext.

Parameters
Name Description
request RequestT
responseObserver ResponseObserver<ResponseT>
context ApiCallContext
Overrides