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 Details

  • Field Details

    • coresPlaceholder

      private final String coresPlaceholder
    • cores

      private final int cores
  • Constructor Details

    • ProcessingCores

      private ProcessingCores(String coresPlaceholder, int cores)
  • Method Details

    • values

      public static AsyncEmbeddedEngine.ProcessingCores[] 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

      public static AsyncEmbeddedEngine.ProcessingCores 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 name
      NullPointerException - if the argument is null
    • getCores

      public int getCores()
    • parse

      public static AsyncEmbeddedEngine.ProcessingCores parse(String value)