Package | Description |
---|---|
org.mule.runtime.api.scheduler | |
org.mule.runtime.core.api |
Modifier and Type | Method and Description |
---|---|
static SchedulerConfig |
SchedulerConfig.config()
Whenever possible, use a
SchedulerConfig from the Registry or inject it rather than building a new one with
this method. |
SchedulerConfig |
SchedulerConfig.withDirectRunCpuLightWhenTargetBusy(boolean runCpuLightWhenTargetBusy)
|
SchedulerConfig |
SchedulerConfig.withMaxConcurrentTasks(int maxConcurrentTasks)
Sets the max tasks that can be run at the same time for the target
Scheduler . |
SchedulerConfig |
SchedulerConfig.withName(String schedulerName)
Sets the name for the target
Scheduler , which will override the default one. |
SchedulerConfig |
SchedulerConfig.withPrefix(String schedulerPrefix)
Sets the prefix to prepend to the name for the target
Scheduler , which will override the default one. |
SchedulerConfig |
SchedulerConfig.withShutdownTimeout(long shutdownTimeout,
TimeUnit shutdownTimeoutUnit)
Sets the graceful shutdown timeout to use when stopping the target
Scheduler . |
SchedulerConfig |
SchedulerConfig.withShutdownTimeout(Supplier<Long> shutdownTimeoutSupplier,
TimeUnit shutdownTimeoutUnit)
Sets the graceful shutdown timeout to use when stopping the target
Scheduler . |
SchedulerConfig |
SchedulerConfig.withWaitAllowed(boolean waitAllowed)
|
Modifier and Type | Method and Description |
---|---|
Scheduler |
SchedulerService.cpuIntensiveScheduler(SchedulerConfig config)
Builds a fresh
Scheduler for heavy computation or CPU intensive tasks. |
Scheduler |
SchedulerService.cpuIntensiveScheduler(SchedulerConfig config,
SchedulerPoolsConfigFactory poolsConfigFactory)
Builds a fresh
Scheduler for heavy computation or CPU intensive tasks. |
Scheduler |
SchedulerService.cpuLightScheduler(SchedulerConfig config)
Builds a fresh
Scheduler for light CPU tasks. |
Scheduler |
SchedulerService.cpuLightScheduler(SchedulerConfig config,
SchedulerPoolsConfigFactory poolsConfigFactory)
Builds a fresh
Scheduler for light CPU tasks. |
Scheduler |
SchedulerService.customScheduler(SchedulerConfig config)
Builds a fresh
Scheduler for custom tasks. |
Scheduler |
SchedulerService.customScheduler(SchedulerConfig config,
int queueSize)
Builds a fresh
Scheduler for custom tasks. |
Scheduler |
SchedulerService.ioScheduler(SchedulerConfig config)
Builds a fresh
Scheduler for blocking I/O tasks. |
Scheduler |
SchedulerService.ioScheduler(SchedulerConfig config,
SchedulerPoolsConfigFactory poolsConfigFactory)
Builds a fresh
Scheduler for blocking I/O tasks. |
Modifier and Type | Method and Description |
---|---|
SchedulerConfig |
MuleContext.getSchedulerBaseConfig()
Deprecated.
|
Copyright © 2018. All rights reserved.