public static enum MySqlConnectorConfig.EventProcessingFailureHandlingMode extends Enum<MySqlConnectorConfig.EventProcessingFailureHandlingMode> implements EnumeratedValue
| Enum Constant and Description |
|---|
FAIL
An exception indicating the problematic events and their binlog position is raised, causing the connector to be stopped.
|
IGNORE
Problematic events will be skipped.
|
WARN
Problematic event and their binlog position will be logged and the events will be skipped.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static MySqlConnectorConfig.EventProcessingFailureHandlingMode |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.EventProcessingFailureHandlingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlConnectorConfig.EventProcessingFailureHandlingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlConnectorConfig.EventProcessingFailureHandlingMode IGNORE
public static final MySqlConnectorConfig.EventProcessingFailureHandlingMode WARN
public static final MySqlConnectorConfig.EventProcessingFailureHandlingMode FAIL
private final String value
public static MySqlConnectorConfig.EventProcessingFailureHandlingMode[] values()
for (MySqlConnectorConfig.EventProcessingFailureHandlingMode c : MySqlConnectorConfig.EventProcessingFailureHandlingMode.values()) System.out.println(c);
public static MySqlConnectorConfig.EventProcessingFailureHandlingMode 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 getValue()
getValue in interface EnumeratedValuepublic static MySqlConnectorConfig.EventProcessingFailureHandlingMode parse(String value)
value - the configuration property value; may not be nullCopyright © 2019 JBoss by Red Hat. All rights reserved.