public final class JobSchedulerSettings
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
getClusterResponseTimeout()
Gets the number of milliseconds before timing out certain cluster api
requests.
|
static int |
getMaxConcurrentJobSubmissions()
Gets the maximum number of concurrent job submissions.
|
static void |
setClusterResponseTimeout(int value)
Sets the number of milliseconds before timing out certain cluster api
requests.
|
static void |
setMaxConcurrentJobSubmissions(int value)
Sets the maximum number of concurrent job submissions.
|
public static int getMaxConcurrentJobSubmissions()
public static void setMaxConcurrentJobSubmissions(int value)
value
- The maximum concurrent job submissions.java.lang.IllegalArgumentException
- If value is less than or equal to 0
.public static int getClusterResponseTimeout()
public static void setClusterResponseTimeout(int value)
value
- The cluster response timeout (in milliseconds).java.lang.IllegalArgumentException
- If value is less than or equal to 0
.