Enum Class DeMux.Strategy

java.lang.Object
java.lang.Enum<DeMux.Strategy>
com.northconcepts.datapipeline.multiplex.DeMux.Strategy
All Implemented Interfaces:
DeMux.IStrategy, Serializable, Comparable<DeMux.Strategy>, Constable
Enclosing class:
DeMux

public static enum DeMux.Strategy extends Enum<DeMux.Strategy> implements DeMux.IStrategy
The built-in strategies: send every record to all readers or each record to one reader in turn.
  • Enum Constant Details

    • BROADCAST

      public static final DeMux.Strategy BROADCAST
      Sends a copy of each record to every downstream reader.
    • ROUND_ROBIN

      public static final DeMux.Strategy ROUND_ROBIN
  • Method Details

    • values

      public static DeMux.Strategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DeMux.Strategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null