Enum ConsumerConfigConstants.EFORegistrationType
- java.lang.Object
-
- java.lang.Enum<ConsumerConfigConstants.EFORegistrationType>
-
- org.apache.flink.streaming.connectors.kinesis.config.ConsumerConfigConstants.EFORegistrationType
-
- All Implemented Interfaces:
Serializable,Comparable<ConsumerConfigConstants.EFORegistrationType>
- Enclosing class:
- ConsumerConfigConstants
public static enum ConsumerConfigConstants.EFORegistrationType extends Enum<ConsumerConfigConstants.EFORegistrationType>
The EFO registration type represents how we are going to de-/register efo consumer.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConsumerConfigConstants.EFORegistrationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ConsumerConfigConstants.EFORegistrationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LAZY
public static final ConsumerConfigConstants.EFORegistrationType LAZY
Delay the registration of efo consumer for taskmanager to execute. De-register the efo consumer for taskmanager to execute when task is shut down.
-
EAGER
public static final ConsumerConfigConstants.EFORegistrationType EAGER
Register the efo consumer eagerly for jobmanager to execute. De-register the efo consumer the same way as lazy does.
-
NONE
public static final ConsumerConfigConstants.EFORegistrationType NONE
Do not register efo consumer programmatically. Do not de-register either.
-
-
Method Detail
-
values
public static ConsumerConfigConstants.EFORegistrationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConsumerConfigConstants.EFORegistrationType c : ConsumerConfigConstants.EFORegistrationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsumerConfigConstants.EFORegistrationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-