类 ConfigurationDiscoveryServiceGrpc.ConfigurationDiscoveryServiceBlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ConfigurationDiscoveryServiceGrpc.ConfigurationDiscoveryServiceBlockingStub>
org.apache.skywalking.apm.network.language.agent.v3.ConfigurationDiscoveryServiceGrpc.ConfigurationDiscoveryServiceBlockingStub
封闭类:
ConfigurationDiscoveryServiceGrpc

public static final class ConfigurationDiscoveryServiceGrpc.ConfigurationDiscoveryServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<ConfigurationDiscoveryServiceGrpc.ConfigurationDiscoveryServiceBlockingStub>
 Fetch the latest dynamic configurations of the service.
 
  • 方法详细资料

    • build

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

      public Commands fetchConfigurations(ConfigurationSyncRequest request)
       fetchConfigurations service requests the latest configuration.
       Expect command of Commands is:
          command: CDS # meaning ConfigurationDiscoveryService's response
          args: Include string key and string value pair.
                The key depends on the agent implementation.
                The value is the latest value in String value. The watcher of key owner takes the responsibility to convert it to the correct type or format.
                One reserved key is `UUID`. The value would help reducing the traffic load between agent and OAP if there is no change.
       Commands could be empty if no change detected based on ConfigurationSyncRequest.