public enum InteractionThreadPolicy extends Enum<InteractionThreadPolicy>
| Enum Constant and Description |
|---|
ASYNC_GUI_POLICY
Message interaction is asynchronous and must either be done from gui
thread, or supplied with own message callback.
|
ASYNC_WORKER_POLICY
Message interaction is asynchronous and must either be done from worker
thread, or supplied with own message callback.
|
DEFAULT_POLICY
Message interaction can be done from any thread, no need for message
callback.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPolicyDescription()
Get the description of this thread interaction policy.
|
static InteractionThreadPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractionThreadPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractionThreadPolicy ASYNC_GUI_POLICY
public static final InteractionThreadPolicy ASYNC_WORKER_POLICY
public static final InteractionThreadPolicy DEFAULT_POLICY
public static InteractionThreadPolicy[] values()
for (InteractionThreadPolicy c : InteractionThreadPolicy.values()) System.out.println(c);
public static InteractionThreadPolicy 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 String getPolicyDescription()
Copyright © 2006–2020 Esito AS. All rights reserved.