public static final class ExternalStorageGrpc.ExternalStorageFutureStub extends io.grpc.stub.AbstractFutureStub<ExternalStorageGrpc.ExternalStorageFutureStub>
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.ExternalStorageFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Brpb.ExternalStorageRestoreResponse> |
restore(Brpb.ExternalStorageRestoreRequest request)
Restore to a file
|
com.google.common.util.concurrent.ListenableFuture<Brpb.ExternalStorageSaveResponse> |
save(Brpb.ExternalStorageSaveRequest request)
Save a file to storage
|
protected ExternalStorageGrpc.ExternalStorageFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<ExternalStorageGrpc.ExternalStorageFutureStub>
public com.google.common.util.concurrent.ListenableFuture<Brpb.ExternalStorageRestoreResponse> restore(Brpb.ExternalStorageRestoreRequest request)
Restore to a file
public com.google.common.util.concurrent.ListenableFuture<Brpb.ExternalStorageSaveResponse> save(Brpb.ExternalStorageSaveRequest request)
Save a file to storage
Copyright © 2024 PingCAP. All rights reserved.