public static final class ExternalStorageGrpc.ExternalStorageStub extends io.grpc.stub.AbstractAsyncStub<ExternalStorageGrpc.ExternalStorageStub>
ExternalStorage is a service for using a cloud backend from StorageBackend to store files. This can be used to backup and restore SST files.
Modifier and Type | Method and Description |
---|---|
protected ExternalStorageGrpc.ExternalStorageStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
restore(Brpb.ExternalStorageRestoreRequest request,
io.grpc.stub.StreamObserver<Brpb.ExternalStorageRestoreResponse> responseObserver)
Restore to a file
|
void |
save(Brpb.ExternalStorageSaveRequest request,
io.grpc.stub.StreamObserver<Brpb.ExternalStorageSaveResponse> responseObserver)
Save a file to storage
|
protected ExternalStorageGrpc.ExternalStorageStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<ExternalStorageGrpc.ExternalStorageStub>
public void restore(Brpb.ExternalStorageRestoreRequest request, io.grpc.stub.StreamObserver<Brpb.ExternalStorageRestoreResponse> responseObserver)
Restore to a file
public void save(Brpb.ExternalStorageSaveRequest request, io.grpc.stub.StreamObserver<Brpb.ExternalStorageSaveResponse> responseObserver)
Save a file to storage
Copyright © 2024 PingCAP. All rights reserved.