Init
Description
Initializes process-level rescheduling and process-level online recovery. After the initialization is successful, the process-level rescheduling and process-level online recovery functions are temporarily unavailable.
Prototype
rpc Init(ClientInfo) returns (Status) {}
Input Parameters
Parameter |
Type (Defined by Protobuf) |
Description |
|---|---|---|
ClientInfo |
message ClientInfo{ string jobId = 1; string role = 2; } |
ClientInfo.jobId: job ID ClientInfo.role: client role |
Return Value
Return Value |
Type (Defined by Protobuf) |
Description |
|---|---|---|
Status |
message Status{ int32 code = 1; string info = 2; } |
Status.code: return code
Status.info: return information |
Parent topic: gRPC APIs