Package org.graylog.scheduler
Class JobSchedulerConfiguration
java.lang.Object
org.graylog.scheduler.JobSchedulerConfiguration
- All Implemented Interfaces:
PluginConfigBean
Job scheduler specific configuration fields for the server configuration file.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConcurrency limits per job type.com.github.joschi.jadconfig.util.Durationcom.github.joschi.jadconfig.util.Duration
-
Field Details
-
LOOP_SLEEP_DURATION
- See Also:
-
LOCK_EXPIRATION_DURATION
- See Also:
-
CONCURRENCY_LIMITS
- See Also:
-
-
Constructor Details
-
JobSchedulerConfiguration
public JobSchedulerConfiguration()
-
-
Method Details
-
getConcurrencyLimits
Concurrency limits per job type. A missing entry signifies unlimited concurrency. (up to the number of worker threads)- Returns:
- mapping of job type to max number of worker threads
-
getLoopSleepDuration
public com.github.joschi.jadconfig.util.Duration getLoopSleepDuration() -
getLockExpirationDuration
public com.github.joschi.jadconfig.util.Duration getLockExpirationDuration()
-