isCurrentlyRunning

public abstract boolean isCurrentlyRunning(int taskId)

Check if the task currently running.

A repeating task might not be running currently, but will be running in the future. A task that has finished, and does not repeat, will not be running ever again.

Explicitly, getClassById task is running if there exists getClassById thread for it, and that thread is alive.

Return

If the task is currently running.

Parameters

taskId

The task to check.