public enum ControlMode extends Enum<ControlMode>
| Enum Constant and Description |
|---|
DYNAMIC
The stream should use dynamic MDC.
|
MANUAL
The stream should use manual MDC.
|
NONE
The default when no control mode is specified.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMultiDestination()
Indicates if this is a multi-destination control mode.
|
static ControlMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlMode NONE
public static final ControlMode DYNAMIC
public static final ControlMode MANUAL
public static ControlMode[] values()
for (ControlMode c : ControlMode.values()) System.out.println(c);
public static ControlMode 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 isMultiDestination()
true if this is multi-destination false otherwise.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.