22.186. Interface ITaskProcessingChecker
Namespace: ArmoniK.Core.Common.Pollster.TaskProcessingChecker
Assembly: ArmoniK.Core.Common.dll
Checker used to determine if tasks are running on other pods
public interface ITaskProcessingChecker
22.186.1. Methods
22.186.1.1. Check(string, string, CancellationToken)
Check if the task is running on the given pod
Task<bool> Check(string taskId, string ownerPodId, CancellationToken cancellationToken)
22.186.1.1.1. Parameters
taskId string
id of the task to check
ownerPodId string
Id of the pod which should execute the task
cancellationToken CancellationToken
Token used to cancel the execution of the method
22.186.1.1.2. Returns
A bool representing whether or not the task is running on the pod