23.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

23.184.1. Methods

23.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)

23.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

23.184.1.1.2. Returns

Task<bool>

A bool representing whether or not the task is running on the pod