Class TraceServiceGrpc.TraceServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<TraceServiceGrpc.TraceServiceFutureStub>
io.opentelemetry.proto.collector.trace.v1.TraceServiceGrpc.TraceServiceFutureStub
- Enclosing class:
- TraceServiceGrpc
public static final class TraceServiceGrpc.TraceServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<TraceServiceGrpc.TraceServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service TraceService.
Service that can be used to push spans between one Application instrumented with OpenTelemetry and a collector, or between a collector and a central collector (in this case spans are sent/received to/from multiple Applications).
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected TraceServiceGrpc.TraceServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<ExportTraceServiceResponse>export(ExportTraceServiceRequest request) For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected TraceServiceGrpc.TraceServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TraceServiceGrpc.TraceServiceFutureStub>
-
export
public com.google.common.util.concurrent.ListenableFuture<ExportTraceServiceResponse> export(ExportTraceServiceRequest request) For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-