类 TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub>
org.apache.skywalking.apm.network.language.agent.v3.compat.TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub
封闭类:
TraceSegmentReportServiceGrpc

public static final class TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub extends io.grpc.stub.AbstractAsyncStub<TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub>
 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.
 
  • 嵌套类概要

    从类继承的嵌套类/接口 io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • 方法概要

    修饰符和类型
    方法
    说明
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    io.grpc.stub.StreamObserver<SegmentObject>
    collect(io.grpc.stub.StreamObserver<Commands> responseObserver)
    Recommended trace segment report channel.
    void
    collectInSync(SegmentCollection request, io.grpc.stub.StreamObserver<Commands> responseObserver)
    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.

    从类继承的方法 io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    从类继承的方法 io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 方法详细资料

    • build

      protected TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      指定者:
      build 在类中 io.grpc.stub.AbstractStub<TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub>
    • collect

      public io.grpc.stub.StreamObserver<SegmentObject> collect(io.grpc.stub.StreamObserver<Commands> responseObserver)
       Recommended trace segment report channel.
       gRPC streaming provides better performance.
       All language agents should choose this.
       
    • collectInSync

      public void collectInSync(SegmentCollection request, io.grpc.stub.StreamObserver<Commands> responseObserver)
       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