public enum DispatchMode extends Enum<DispatchMode>
| Enum Constant and Description |
|---|
ASYNC_TIMED
Asynchronous, time based event dispatching.
|
COUNTED
Multiple events per dispatch.
|
SYNC
Synchronous event with each generated event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAsync() |
static DispatchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DispatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DispatchMode SYNC
public static final DispatchMode ASYNC_TIMED
public static final DispatchMode COUNTED
public static DispatchMode[] values()
for (DispatchMode c : DispatchMode.values()) System.out.println(c);
public static DispatchMode 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 nullpublic boolean isAsync()
Copyright © 2018 trivago. All rights reserved.