public static final class ResourceUsageAgentGrpc.ResourceUsageAgentStub extends io.grpc.stub.AbstractAsyncStub<ResourceUsageAgentGrpc.ResourceUsageAgentStub>
ResourceUsageAgent is the service for storing resource usage records.
Modifier and Type | Method and Description |
---|---|
protected ResourceUsageAgentGrpc.ResourceUsageAgentStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
io.grpc.stub.StreamObserver<ResourceUsageAgentOuterClass.ResourceUsageRecord> |
report(io.grpc.stub.StreamObserver<ResourceUsageAgentOuterClass.EmptyResponse> responseObserver)
Report the resource usage records.
|
protected ResourceUsageAgentGrpc.ResourceUsageAgentStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<ResourceUsageAgentGrpc.ResourceUsageAgentStub>
public io.grpc.stub.StreamObserver<ResourceUsageAgentOuterClass.ResourceUsageRecord> report(io.grpc.stub.StreamObserver<ResourceUsageAgentOuterClass.EmptyResponse> responseObserver)
Report the resource usage records. By default, the records with the same resource group tag will be batched by minute.
Copyright © 2024 PingCAP. All rights reserved.