Package com.google.api.gax.tracing
Class TracedBidiCallable<RequestT,ResponseT>
- java.lang.Object
-
- com.google.api.gax.rpc.BidiStreamingCallable<RequestT,ResponseT>
-
- com.google.api.gax.tracing.TracedBidiCallable<RequestT,ResponseT>
-
@BetaApi("The surface for tracing is not stable and might change in the future") @InternalApi("For internal use by google-cloud-java clients only") public class TracedBidiCallable<RequestT,ResponseT> extends BidiStreamingCallable<RequestT,ResponseT>
A wrapper callable that will wrap a callable chain in a trace.For internal use only.
-
-
Constructor Summary
Constructors Constructor Description TracedBidiCallable(BidiStreamingCallable<RequestT,ResponseT> innerCallable, ApiTracerFactory tracerFactory, SpanName spanName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientStream<RequestT>
internalCall(ResponseObserver<ResponseT> responseObserver, ClientStreamReadyObserver<RequestT> onReady, ApiCallContext context)
The "base" method from which other forms ofcall
s are derived.-
Methods inherited from class com.google.api.gax.rpc.BidiStreamingCallable
bidiStreamingCall, bidiStreamingCall, call, call, call, call, splitCall, splitCall, withDefaultCallContext
-
-
-
-
Constructor Detail
-
TracedBidiCallable
public TracedBidiCallable(@Nonnull BidiStreamingCallable<RequestT,ResponseT> innerCallable, @Nonnull ApiTracerFactory tracerFactory, @Nonnull SpanName spanName)
-
-
Method Detail
-
internalCall
public ClientStream<RequestT> internalCall(ResponseObserver<ResponseT> responseObserver, ClientStreamReadyObserver<RequestT> onReady, ApiCallContext context)
Description copied from class:BidiStreamingCallable
The "base" method from which other forms ofcall
s are derived. Most users will not need to call this method directly.However, it is
public
, since library authors might want to call this method in adaptor classes.- Specified by:
internalCall
in classBidiStreamingCallable<RequestT,ResponseT>
-
-