Package io.debezium.embedded.async
Enum AsyncEmbeddedEngine.ProcessingCores
java.lang.Object
java.lang.Enum<AsyncEmbeddedEngine.ProcessingCores>
io.debezium.embedded.async.AsyncEmbeddedEngine.ProcessingCores
- All Implemented Interfaces:
Serializable
,Comparable<AsyncEmbeddedEngine.ProcessingCores>
- Enclosing class:
- AsyncEmbeddedEngine<R>
private static enum AsyncEmbeddedEngine.ProcessingCores
extends Enum<AsyncEmbeddedEngine.ProcessingCores>
Enum with possible placeholders for number of cores to be used record processing.
Currently only
AVAILABLE_CORES
for using all available cores is supported.-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getCores()
Returns the enum constant of this type with the specified name.static AsyncEmbeddedEngine.ProcessingCores[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AVAILABLE_CORES
-
-
Field Details
-
coresPlaceholder
-
cores
private final int cores
-
-
Constructor Details
-
ProcessingCores
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getCores
public int getCores() -
parse
-