| 3929 | } |
| 3930 | |
| 3931 | void TabletImpl::SetTaskStatus( |
| 3932 | std::shared_ptr<::fedb::api::TaskInfo>& task_ptr, |
| 3933 | ::fedb::api::TaskStatus status) { |
| 3934 | if (!task_ptr) { |
| 3935 | return; |
| 3936 | } |
| 3937 | std::lock_guard<std::mutex> lock(mu_); |
| 3938 | task_ptr->set_status(status); |
| 3939 | } |
| 3940 | |
| 3941 | int TabletImpl::GetTaskStatus(std::shared_ptr<::fedb::api::TaskInfo>& task_ptr, |
| 3942 | ::fedb::api::TaskStatus* status) { |
nothing calls this directly
no outgoing calls
no test coverage detected