Enum Class ExporterDirectorContext.ExporterMode

java.lang.Object
java.lang.Enum<ExporterDirectorContext.ExporterMode>
io.camunda.zeebe.broker.exporter.stream.ExporterDirectorContext.ExporterMode
All Implemented Interfaces:
Serializable, Comparable<ExporterDirectorContext.ExporterMode>, Constable
Enclosing class:
ExporterDirectorContext

public static enum ExporterDirectorContext.ExporterMode extends Enum<ExporterDirectorContext.ExporterMode>
  • Enum Constant Details

    • ACTIVE

      public static final ExporterDirectorContext.ExporterMode ACTIVE
      ACTIVE, means it is actively running the exporting and distributes the exporter positions to the followers. This mode is used on the leader side.
    • PASSIVE

      public static final ExporterDirectorContext.ExporterMode PASSIVE
      PASSIVE, means it is not actively exporting records. It is consuming the distributed exporter positions and stores them in the state. This mode is used on the follower side.
  • Method Details

    • values

      public static ExporterDirectorContext.ExporterMode[] 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 ExporterDirectorContext.ExporterMode 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