21.184. 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
21.184.1. Methods
21.184.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)
21.184.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
21.184.1.1.2. Returns
A bool representing whether or not the task is running on the pod