方法列表
获取所有正在同步的集群信息
admin
RPC
findNodeClusterTasks (FindNodeClusterTasksRequest) returns (FindNodeClusterTasksResponse)
HTTP
POST /NodeTaskService/findNodeClusterTasks
输入对象:FindNodeClusterTasksRequest:
{ }
输出对象:FindNodeClusterTasksResponse:
检查是否有正在执行的任务
admin
RPC
existsNodeTasks (ExistsNodeTasksRequest) returns (ExistsNodeTasksResponse)
HTTP
POST /NodeTaskService/existsNodeTasks
输入对象:ExistsNodeTasksRequest:
输出对象:ExistsNodeTasksResponse:
删除任务
admin
RPC
deleteNodeTask (DeleteNodeTaskRequest) returns (RPCSuccess)
HTTP
POST /NodeTaskService/deleteNodeTask
输入对象:DeleteNodeTaskRequest:
输出对象:RPCSuccess:
{ }
批量删除任务
admin
RPC
deleteNodeTasks (DeleteNodeTasksRequest) returns (RPCSuccess)
HTTP
POST /NodeTaskService/deleteNodeTasks
输入对象:DeleteNodeTasksRequest:
输出对象:RPCSuccess:
{ }
删除所有任务
admin
RPC
deleteAllNodeTasks (DeleteAllNodeTasksRequest) returns (RPCSuccess)
HTTP
POST /NodeTaskService/deleteAllNodeTasks
输入对象:DeleteAllNodeTasksRequest:
{ }
输出对象:RPCSuccess:
{ }
计算正在执行的任务数量
admin
RPC
countDoingNodeTasks (CountDoingNodeTasksRequest) returns (RPCCountResponse)
HTTP
POST /NodeTaskService/countDoingNodeTasks
输入对象:CountDoingNodeTasksRequest:
{ }
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
查找需要通知的任务
admin
RPC
findNotifyingNodeTasks (FindNotifyingNodeTasksRequest) returns (FindNotifyingNodeTasksResponse)
HTTP
POST /NodeTaskService/findNotifyingNodeTasks
输入对象:FindNotifyingNodeTasksRequest:
{ // 数量,通常不能小于0 int64 size; }
输出对象:FindNotifyingNodeTasksResponse:
设置任务已通知
admin
RPC
updateNodeTasksNotified (UpdateNodeTasksNotifiedRequest) returns (RPCSuccess)
HTTP
POST /NodeTaskService/updateNodeTasksNotified
输入对象:UpdateNodeTasksNotifiedRequest:
输出对象:RPCSuccess:
{ }