public enum SchedulerType extends java.lang.Enum<SchedulerType>
| Enum Constant and Description |
|---|
_io
订阅发生在io线程 ( -> -> io)
|
_io_io
处理在io线程,订阅也发生在io线程( -> io -> io)
|
_io_main
处理在io线程,订阅发生在主线程( -> io -> main)
|
_main
订阅发生在主线程 ( -> -> main)
|
| Modifier and Type | Method and Description |
|---|---|
static SchedulerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SchedulerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulerType _main
public static final SchedulerType _io
public static final SchedulerType _io_main
public static final SchedulerType _io_io
public static SchedulerType[] values()
for (SchedulerType c : SchedulerType.values()) System.out.println(c);
public static SchedulerType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null