getTaskId

public synchronized int getTaskId()

Gets the task id for this runnable.

Return

the task id that this runnable was scheduled as

Throws

if task was not scheduled yet