public static enum ReactiveProcessor.ProcessingType extends Enum<ReactiveProcessor.ProcessingType>
| Enum Constant and Description |
|---|
BLOCKING
Blocking processing that use
Thread.sleep(long), Lock.lock() or any other technique to block the current
thread during processing. |
CPU_INTENSIVE
CPU intensive processing such as calculation or transformation.
|
CPU_LITE
Processing which neither blocks nor is CPU intensive such as message passing, filtering, routing or non-blocking IO..
|
CPU_LITE_ASYNC
Denotes a processor that is
CPU_LITE but is also asynchronous and uses another thread to continue processing. |
IO_RW
Blocking IO read/write operations.
|
| Modifier and Type | Method and Description |
|---|---|
static ReactiveProcessor.ProcessingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReactiveProcessor.ProcessingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReactiveProcessor.ProcessingType CPU_INTENSIVE
public static final ReactiveProcessor.ProcessingType CPU_LITE
public static final ReactiveProcessor.ProcessingType BLOCKING
Thread.sleep(long), Lock.lock() or any other technique to block the current
thread during processing.public static final ReactiveProcessor.ProcessingType IO_RW
BLOCKING to allow for potential optimizations
when IO is fast and/or message sizes smalls.public static final ReactiveProcessor.ProcessingType CPU_LITE_ASYNC
CPU_LITE but is also asynchronous and uses another thread to continue processing.
NOTE: This processing type is primarily for extension operations and custom components where the callback thread
used is a custom or connector thread. Mule routers that by design use multiple SchedulerService.cpuLightScheduler()
threads to implement the desired functionality should not be considered CPU_LITE_ASYNC.public static ReactiveProcessor.ProcessingType[] values()
for (ReactiveProcessor.ProcessingType c : ReactiveProcessor.ProcessingType.values()) System.out.println(c);
public static ReactiveProcessor.ProcessingType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.