Class TraceSegmentReportServiceGrpc.TraceSegmentReportServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<TraceSegmentReportServiceGrpc.TraceSegmentReportServiceFutureStub>
org.apache.skywalking.apm.network.language.agent.v3.compat.TraceSegmentReportServiceGrpc.TraceSegmentReportServiceFutureStub
- Enclosing class:
- TraceSegmentReportServiceGrpc
public static final class TraceSegmentReportServiceGrpc.TraceSegmentReportServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<TraceSegmentReportServiceGrpc.TraceSegmentReportServiceFutureStub>
Define a trace segment report service. All language agents or any trace collecting component, could use this service to send span collection to the SkyWalking OAP backend.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Commands>collectInSync(SegmentCollection request) An alternative for trace report by using gRPC unary This is provided for some 3rd-party integration, if and only if they prefer the unary mode somehow.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 TraceSegmentReportServiceGrpc.TraceSegmentReportServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TraceSegmentReportServiceGrpc.TraceSegmentReportServiceFutureStub>
-
collectInSync
public com.google.common.util.concurrent.ListenableFuture<Commands> collectInSync(SegmentCollection request) An alternative for trace report by using gRPC unary This is provided for some 3rd-party integration, if and only if they prefer the unary mode somehow. The performance of SkyWalking OAP server would be very similar with streaming report, the performance of the network and client side are affected
-