public static final class PumpGrpc.PumpBlockingStub extends io.grpc.stub.AbstractBlockingStub<PumpGrpc.PumpBlockingStub>
Interfaces exported by Pump.
Modifier and Type | Method and Description |
---|---|
protected PumpGrpc.PumpBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
Iterator<PumpOuterClass.PullBinlogResp> |
pullBinlogs(PumpOuterClass.PullBinlogReq request)
Sends binlog stream from a given location.
|
PumpOuterClass.WriteBinlogResp |
writeBinlog(PumpOuterClass.WriteBinlogReq request)
Writes a binlog to the local file on the pump machine.
|
protected PumpGrpc.PumpBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<PumpGrpc.PumpBlockingStub>
public PumpOuterClass.WriteBinlogResp writeBinlog(PumpOuterClass.WriteBinlogReq request)
Writes a binlog to the local file on the pump machine. A response with an empty errmsg is returned if the binlog is written successfully.
public Iterator<PumpOuterClass.PullBinlogResp> pullBinlogs(PumpOuterClass.PullBinlogReq request)
Sends binlog stream from a given location.
Copyright © 2024 PingCAP. All rights reserved.