public class ScheduledExecutors
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ScheduledExecutorPlus |
nonPeriodicTasks
This executor is used for tasks that can have longer execution times, and usually are non periodic.
|
static ScheduledExecutorPlus |
optionalTasks
This executor is used for tasks that do not need to be waited for on shutdown/drain.
|
static ScheduledExecutorPlus |
scheduledFastTasks
This pool is used for periodic fast (sub-microsecond) tasks.
|
static ScheduledExecutorPlus |
scheduledTasks
This pool is used for periodic short (sub-second) tasks.
|
Constructor and Description |
---|
ScheduledExecutors() |
Modifier and Type | Method and Description |
---|---|
static void |
shutdownNowAndWait(long timeout,
java.util.concurrent.TimeUnit unit) |
public static final ScheduledExecutorPlus scheduledFastTasks
public static final ScheduledExecutorPlus scheduledTasks
public static final ScheduledExecutorPlus nonPeriodicTasks
public static final ScheduledExecutorPlus optionalTasks
Copyright © 2009-2022 The Apache Software Foundation