ScheduledJob

public class ScheduledJob

ScheduledJob is a wrapper class for jobs held by the Scheduler.

It is mainly a means to have simplified interface for the Scheduler which also measures the execution time of the job “from outside”.

Author:

Timm Fitschen

Fields

runtime

long runtime

Constructors

ScheduledJob

ScheduledJob(Job job)

Methods

equals

public boolean equals(Object obj)

getJob

public Job getJob()

getTransactionStage

public TransactionStage getTransactionStage()

Return the state of the inner Job.

hashCode

public int hashCode()

pause

void pause()

run

public void run()

skip

public boolean skip()

toString

public String toString()

unpause

void unpause()