Class TracedServerStreamingCallable<RequestT,ResponseT> (2.18.1)

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

NameDescription
RequestT
ResponseT

Constructors

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

public TracedServerStreamingCallable(ServerStreamingCallable<RequestT,ResponseT> innerCallable, ApiTracerFactory tracerFactory, SpanName spanName)
Parameters
NameDescription
innerCallableServerStreamingCallable<RequestT,ResponseT>
tracerFactoryApiTracerFactory
spanNameSpanName

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
NameDescription
requestRequestT
responseObserverResponseObserver<ResponseT>
contextApiCallContext
Overrides