public static enum MySqlConnectorConfig.EventDeserializationFailureHandlingMode extends Enum<MySqlConnectorConfig.EventDeserializationFailureHandlingMode> 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.EventDeserializationFailureHandlingMode |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.EventDeserializationFailureHandlingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlConnectorConfig.EventDeserializationFailureHandlingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlConnectorConfig.EventDeserializationFailureHandlingMode IGNORE
public static final MySqlConnectorConfig.EventDeserializationFailureHandlingMode WARN
public static final MySqlConnectorConfig.EventDeserializationFailureHandlingMode FAIL
private final String value
public static MySqlConnectorConfig.EventDeserializationFailureHandlingMode[] values()
for (MySqlConnectorConfig.EventDeserializationFailureHandlingMode c : MySqlConnectorConfig.EventDeserializationFailureHandlingMode.values()) System.out.println(c);
public static MySqlConnectorConfig.EventDeserializationFailureHandlingMode 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.EventDeserializationFailureHandlingMode parse(String value)
value - the configuration property value; may not be nullCopyright © 2017 JBoss by Red Hat. All rights reserved.