-
final class MenigaExecutors
-
-
Method Summary
Modifier and Type Method Description static ExecutorServicebackground()An java.util.concurrent.Executor that executes tasks in parallel. static ScheduledExecutorServicescheduled()static Executorimmediate()An java.util.concurrent.Executor that executes tasks in the current thread unlessthe stack runs too deep, at which point it will delegate to background in order to trim the stack. -
-
Method Detail
-
background
static ExecutorService background()
An java.util.concurrent.Executor that executes tasks in parallel.
-
scheduled
static ScheduledExecutorService scheduled()
-
immediate
static Executor immediate()
An java.util.concurrent.Executor that executes tasks in the current thread unlessthe stack runs too deep, at which point it will delegate to background in order to trim the stack.
-
-
-
-