diff options
| author | chrislu <chris.lu@gmail.com> | 2022-04-01 16:44:58 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-04-01 16:44:58 -0700 |
| commit | 743ad690b69d01081975bdb435364d8509dbe01b (patch) | |
| tree | aae4aebe9b3c0f3d1ec8a223dcca4c48d491f74d /other/java | |
| parent | 2305508b6503a9b1c9cf79e2d359e0c6f6b0d2ea (diff) | |
| download | seaweedfs-743ad690b69d01081975bdb435364d8509dbe01b.tar.xz seaweedfs-743ad690b69d01081975bdb435364d8509dbe01b.zip | |
filer supports grpc ping
Diffstat (limited to 'other/java')
| -rw-r--r-- | other/java/client/src/main/proto/filer.proto | 10 |
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 { |
