public abstract static class TopSQLPubSubGrpc.TopSQLPubSubImplBase extends Object implements org.tikv.shade.io.grpc.BindableService
TiDB implements TopSQLPubSub service for clients to subscribe to TopSQL data.
| 构造器和说明 |
|---|
TopSQLPubSubImplBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.tikv.shade.io.grpc.ServerServiceDefinition |
bindService() |
void |
subscribe(TopSQLSubRequest request,
org.tikv.shade.io.grpc.stub.StreamObserver<TopSQLSubResponse> responseObserver)
Clients subscribe to TopSQL data through this RPC, and TiDB periodically (e.g. per minute)
publishes TopSQL data to clients via gRPC stream.
|
public void subscribe(TopSQLSubRequest request, org.tikv.shade.io.grpc.stub.StreamObserver<TopSQLSubResponse> responseObserver)
Clients subscribe to TopSQL data through this RPC, and TiDB periodically (e.g. per minute) publishes TopSQL data to clients via gRPC stream.
public final org.tikv.shade.io.grpc.ServerServiceDefinition bindService()
bindService 在接口中 org.tikv.shade.io.grpc.BindableServiceCopyright © 2023 PingCAP. All rights reserved.