public class DefaultJobSchedulerConfig extends Object implements JobSchedulerConfig
JobSchedulerConfig.| Constructor and Description |
|---|
DefaultJobSchedulerConfig(NodeService nodeService,
NodeId nodeId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute()
Determines if the scheduler can execute the next loop iteration.
|
boolean |
canStart()
Determines if the scheduler can start.
|
int |
numberOfWorkerThreads()
The number of worker threads to start.
|
@Inject public DefaultJobSchedulerConfig(NodeService nodeService, NodeId nodeId)
public boolean canStart()
JobSchedulerConfigcanStart in interface JobSchedulerConfigpublic boolean canExecute()
JobSchedulerConfigcanExecute in interface JobSchedulerConfigpublic int numberOfWorkerThreads()
JobSchedulerConfignumberOfWorkerThreads in interface JobSchedulerConfigCopyright © 2012–2021 Graylog, Inc.. All rights reserved.