| Package | Description |
|---|---|
| org.mule.runtime.core | |
| org.mule.runtime.core.api | |
| org.mule.runtime.core.api.scheduler |
| Modifier and Type | Method and Description |
|---|---|
SchedulerConfig |
DefaultMuleContext.getSchedulerBaseConfig() |
| Modifier and Type | Method and Description |
|---|---|
SchedulerConfig |
MuleContext.getSchedulerBaseConfig() |
| Modifier and Type | Method and Description |
|---|---|
static SchedulerConfig |
SchedulerConfig.config() |
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)
Whether the threads of the target custom
Scheduler may block to wait when dispatching to a busy Scheduler. |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.scheduler.Scheduler |
SchedulerService.cpuIntensiveScheduler(SchedulerConfig config)
Builds a fresh
Scheduler for heavy computation or CPU intensive tasks. |
org.mule.runtime.api.scheduler.Scheduler |
SchedulerService.cpuIntensiveScheduler(SchedulerConfig config,
SchedulerPoolsConfigFactory poolsConfigFactory)
Builds a fresh
Scheduler for heavy computation or CPU intensive tasks. |
org.mule.runtime.api.scheduler.Scheduler |
SchedulerService.cpuLightScheduler(SchedulerConfig config)
Builds a fresh
Scheduler for light CPU tasks. |
org.mule.runtime.api.scheduler.Scheduler |
SchedulerService.cpuLightScheduler(SchedulerConfig config,
SchedulerPoolsConfigFactory poolsConfigFactory)
Builds a fresh
Scheduler for light CPU tasks. |
org.mule.runtime.api.scheduler.Scheduler |
SchedulerService.customScheduler(SchedulerConfig config)
Builds a fresh
Scheduler for custom tasks. |
org.mule.runtime.api.scheduler.Scheduler |
SchedulerService.customScheduler(SchedulerConfig config,
int queueSize)
Builds a fresh
Scheduler for custom tasks. |
org.mule.runtime.api.scheduler.Scheduler |
SchedulerService.ioScheduler(SchedulerConfig config)
Builds a fresh
Scheduler for blocking I/O tasks. |
org.mule.runtime.api.scheduler.Scheduler |
SchedulerService.ioScheduler(SchedulerConfig config,
SchedulerPoolsConfigFactory poolsConfigFactory)
Builds a fresh
Scheduler for blocking I/O tasks. |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.