public abstract class JobInformation extends Object
A client application specifies the JobInformation class by setting the JOB_INFO_CLASS
system property. The specified class must provide an empty constructor.
Modifier and Type | Field and Description |
---|---|
static long |
TIME_INFINITE |
static long |
TIME_LONG |
static long |
TIME_MEDIUM |
static long |
TIME_SHORT |
Constructor and Description |
---|
JobInformation() |
Modifier and Type | Method and Description |
---|---|
abstract long |
timeToRun(long requestId, RequestParameters parameters)
Invoked immediately prior to Executable.execute.
|
public static final long TIME_SHORT
public static final long TIME_MEDIUM
public static final long TIME_LONG
public static final long TIME_INFINITE
public abstract long timeToRun(long requestId, RequestParameters parameters)
requestId
- The request identifierparameters
- The request parameters associated with this request