public static final class TopSQLPubSubGrpc.TopSQLPubSubBlockingStub extends org.tikv.shade.io.grpc.stub.AbstractBlockingStub<TopSQLPubSubGrpc.TopSQLPubSubBlockingStub>
TiDB implements TopSQLPubSub service for clients to subscribe to TopSQL data.
| 限定符和类型 | 方法和说明 |
|---|---|
protected TopSQLPubSubGrpc.TopSQLPubSubBlockingStub |
build(org.tikv.shade.io.grpc.Channel channel,
org.tikv.shade.io.grpc.CallOptions callOptions) |
Iterator<TopSQLSubResponse> |
subscribe(TopSQLSubRequest request)
Clients subscribe to TopSQL data through this RPC, and TiDB periodically (e.g. per minute)
publishes TopSQL data to clients via gRPC stream.
|
protected TopSQLPubSubGrpc.TopSQLPubSubBlockingStub build(org.tikv.shade.io.grpc.Channel channel, org.tikv.shade.io.grpc.CallOptions callOptions)
build 在类中 org.tikv.shade.io.grpc.stub.AbstractStub<TopSQLPubSubGrpc.TopSQLPubSubBlockingStub>public Iterator<TopSQLSubResponse> subscribe(TopSQLSubRequest request)
Clients subscribe to TopSQL data through this RPC, and TiDB periodically (e.g. per minute) publishes TopSQL data to clients via gRPC stream.
Copyright © 2023 PingCAP. All rights reserved.