Class ManagementServiceGrpc.ManagementServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ManagementServiceGrpc.ManagementServiceStub>
org.apache.skywalking.apm.network.management.v3.compat.ManagementServiceGrpc.ManagementServiceStub
Enclosing class:
ManagementServiceGrpc

public static final class ManagementServiceGrpc.ManagementServiceStub extends io.grpc.stub.AbstractAsyncStub<ManagementServiceGrpc.ManagementServiceStub>
 Define the service reporting the extra information of the instance.
 
  • 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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    keepAlive(InstancePingPkg request, io.grpc.stub.StreamObserver<Commands> responseObserver)
    Keep the instance alive in the backend analysis.
    void
    reportInstanceProperties(InstanceProperties request, io.grpc.stub.StreamObserver<Commands> responseObserver)
    Report custom properties of a service instance.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected ManagementServiceGrpc.ManagementServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ManagementServiceGrpc.ManagementServiceStub>
    • reportInstanceProperties

      public void reportInstanceProperties(InstanceProperties request, io.grpc.stub.StreamObserver<Commands> responseObserver)
       Report custom properties of a service instance.
       
    • keepAlive

      public void keepAlive(InstancePingPkg request, io.grpc.stub.StreamObserver<Commands> responseObserver)
       Keep the instance alive in the backend analysis.
       Only recommend to do separate keepAlive report when no trace and metrics needs to be reported.
       Otherwise, it is duplicated.