aboutsummaryrefslogtreecommitdiff
path: root/other/java/client/src
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-09 14:35:18 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-09 14:35:18 -0700
commit713c035a6e5c71bbccdb0e1cc5856e1a84fbe122 (patch)
tree6d175c8a35343607e7c53fc37fded82cac06af81 /other/java/client/src
parent8cfd4876084432e393a30dadf0b8f466177183be (diff)
downloadseaweedfs-713c035a6e5c71bbccdb0e1cc5856e1a84fbe122.tar.xz
seaweedfs-713c035a6e5c71bbccdb0e1cc5856e1a84fbe122.zip
shell: remote.cache remote.uncache
Diffstat (limited to 'other/java/client/src')
-rw-r--r--other/java/client/src/main/proto/filer.proto18
1 files changed, 14 insertions, 4 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index 1a5cfe79b..c9257ddca 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -67,6 +67,8 @@ service SeaweedFiler {
rpc KvPut (KvPutRequest) returns (KvPutResponse) {
}
+ rpc DownloadToLocal (DownloadToLocalRequest) returns (DownloadToLocalResponse) {
+ }
}
//////////////////////////////////////////////////
@@ -93,10 +95,11 @@ message ListEntriesResponse {
}
message RemoteEntry {
- int64 last_modified_at = 1;
- int64 size = 2;
- string e_tag = 3;
- string storage_name = 4;
+ string storage_name = 1;
+ int64 local_mtime = 2;
+ string remote_e_tag = 3;
+ int64 remote_mtime = 4;
+ int64 remote_size = 5;
}
message Entry {
string name = 1;
@@ -400,3 +403,10 @@ message RemoteStorageLocation {
string bucket = 2;
string path = 3;
}
+message DownloadToLocalRequest {
+ string directory = 1;
+ string name = 2;
+}
+message DownloadToLocalResponse {
+ Entry entry = 1;
+}