public static interface PumpGrpc.AsyncService
Interfaces exported by Pump.
Modifier and Type | Method and Description |
---|---|
default void |
pullBinlogs(PumpOuterClass.PullBinlogReq request,
io.grpc.stub.StreamObserver<PumpOuterClass.PullBinlogResp> responseObserver)
Sends binlog stream from a given location.
|
default void |
writeBinlog(PumpOuterClass.WriteBinlogReq request,
io.grpc.stub.StreamObserver<PumpOuterClass.WriteBinlogResp> responseObserver)
Writes a binlog to the local file on the pump machine.
|
default void writeBinlog(PumpOuterClass.WriteBinlogReq request, io.grpc.stub.StreamObserver<PumpOuterClass.WriteBinlogResp> responseObserver)
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.
default void pullBinlogs(PumpOuterClass.PullBinlogReq request, io.grpc.stub.StreamObserver<PumpOuterClass.PullBinlogResp> responseObserver)
Sends binlog stream from a given location.
Copyright © 2024 PingCAP. All rights reserved.