public static final class ManagementServiceGrpc.ManagementServiceStub extends io.grpc.stub.AbstractAsyncStub<ManagementServiceGrpc.ManagementServiceStub>
Define the service reporting the extra information of the instance.
| Modifier and Type | Method and Description |
|---|---|
protected ManagementServiceGrpc.ManagementServiceStub |
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.
|
protected ManagementServiceGrpc.ManagementServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<ManagementServiceGrpc.ManagementServiceStub>public void reportInstanceProperties(InstanceProperties request, io.grpc.stub.StreamObserver<Commands> responseObserver)
Report custom properties of a service instance.
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.
Copyright © 2022 The Apache Software Foundation. All rights reserved.