aboutsummaryrefslogtreecommitdiff
path: root/other/java/client
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-04-01 16:44:58 -0700
committerchrislu <chris.lu@gmail.com>2022-04-01 16:44:58 -0700
commit743ad690b69d01081975bdb435364d8509dbe01b (patch)
treeaae4aebe9b3c0f3d1ec8a223dcca4c48d491f74d /other/java/client
parent2305508b6503a9b1c9cf79e2d359e0c6f6b0d2ea (diff)
downloadseaweedfs-743ad690b69d01081975bdb435364d8509dbe01b.tar.xz
seaweedfs-743ad690b69d01081975bdb435364d8509dbe01b.zip
filer supports grpc ping
Diffstat (limited to 'other/java/client')
-rw-r--r--other/java/client/src/main/proto/filer.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index 389332114..35086e245 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -48,6 +48,9 @@ service SeaweedFiler {
rpc Statistics (StatisticsRequest) returns (StatisticsResponse) {
}
+ rpc Ping (PingRequest) returns (PingResponse) {
+ }
+
rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) {
}
@@ -311,6 +314,13 @@ message StatisticsResponse {
uint64 file_count = 6;
}
+message PingRequest {
+ string target = 1; // default to ping itself
+ string target_type = 2;
+}
+message PingResponse {
+}
+
message GetFilerConfigurationRequest {
}
message GetFilerConfigurationResponse {