public class SynchronousJobStartup extends ImmediateJobStartup
Modifier and Type | Field and Description |
---|---|
long |
timeoutMillis
Timeout in milliseconds - the period to elapse before the wait for job completion is
terminated and an exception is thrown.
|
ASYNCHRONOUS, isAsync, SYNCHRONOUS
PARAMETER_ASYNC, PARAMETER_SESSION_ID, PARAMETER_START_TIME, PARAMETER_TIMEOUT_MILLIS
Constructor and Description |
---|
SynchronousJobStartup()
The default constructor.
|
SynchronousJobStartup(long timeoutMillis)
Initializes a new instance of the
SynchronousJobStartup class. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getRequestParameterMap()
Returns a list of name/value pairs to be passed to the server as part of URL query string.
|
getInstance, isSynchronous
public final long timeoutMillis
public SynchronousJobStartup(long timeoutMillis)
SynchronousJobStartup
class.timeoutMillis
- The time, in milliseconds, before the synchronous job times out.
By default, 300,000 milliseconds (5 minutes).public SynchronousJobStartup()
public java.util.Map<java.lang.String,java.lang.String> getRequestParameterMap()
getRequestParameterMap
in class ImmediateJobStartup