diff options
| author | guosj <515878133@qq.com> | 2022-04-19 09:26:06 +0800 |
|---|---|---|
| committer | guosj <515878133@qq.com> | 2022-04-19 09:26:06 +0800 |
| commit | 94c702402e879843792acc4be2cf01198268f250 (patch) | |
| tree | 593eb933dffc877010c761b2c55ec6c73875e9a3 /other/java/client | |
| parent | 5c9a3bb8cf68ed99acb53dd548c92b54744d7fd7 (diff) | |
| parent | 82ee31965dd7a1ad2d348c7e9dadb254744bf9b0 (diff) | |
| download | seaweedfs-94c702402e879843792acc4be2cf01198268f250.tar.xz seaweedfs-94c702402e879843792acc4be2cf01198268f250.zip | |
Merge branch 'chrislusf-master'
Diffstat (limited to 'other/java/client')
| -rw-r--r-- | other/java/client/src/main/proto/filer.proto | 13 |
1 files changed, 13 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..11be522e7 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,16 @@ message StatisticsResponse { uint64 file_count = 6; } +message PingRequest { + string target = 1; // default to ping itself + string target_type = 2; +} +message PingResponse { + int64 start_time_ns = 1; + int64 remote_time_ns = 2; + int64 stop_time_ns = 3; +} + message GetFilerConfigurationRequest { } message GetFilerConfigurationResponse { |
