类 ConfigurationDiscoveryServiceGrpc.ConfigurationDiscoveryServiceImplBase
java.lang.Object
org.apache.skywalking.apm.network.language.agent.v3.ConfigurationDiscoveryServiceGrpc.ConfigurationDiscoveryServiceImplBase
- 所有已实现的接口:
io.grpc.BindableService
public abstract static class ConfigurationDiscoveryServiceGrpc.ConfigurationDiscoveryServiceImplBase
extends Object
implements io.grpc.BindableService
Fetch the latest dynamic configurations of the service.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明final io.grpc.ServerServiceDefinitionvoidfetchConfigurations(ConfigurationSyncRequest request, io.grpc.stub.StreamObserver<Commands> responseObserver) fetchConfigurations service requests the latest configuration.
-
构造器详细资料
-
ConfigurationDiscoveryServiceImplBase
public ConfigurationDiscoveryServiceImplBase()
-
-
方法详细资料
-
fetchConfigurations
public void fetchConfigurations(ConfigurationSyncRequest request, io.grpc.stub.StreamObserver<Commands> responseObserver) 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. -
bindService
public final io.grpc.ServerServiceDefinition bindService()- 指定者:
bindService在接口中io.grpc.BindableService
-