Enum Class MarkerType

java.lang.Object
java.lang.Enum<MarkerType>
org.apache.pulsar.common.api.proto.MarkerType
All Implemented Interfaces:
Serializable, Comparable<MarkerType>, Constable

public enum MarkerType extends Enum<MarkerType>
  • Enum Constant Details

    • UNKNOWN_MARKER

      public static final MarkerType UNKNOWN_MARKER
    • REPLICATED_SUBSCRIPTION_SNAPSHOT_REQUEST

      public static final MarkerType REPLICATED_SUBSCRIPTION_SNAPSHOT_REQUEST
    • REPLICATED_SUBSCRIPTION_SNAPSHOT_RESPONSE

      public static final MarkerType REPLICATED_SUBSCRIPTION_SNAPSHOT_RESPONSE
    • REPLICATED_SUBSCRIPTION_SNAPSHOT

      public static final MarkerType REPLICATED_SUBSCRIPTION_SNAPSHOT
    • REPLICATED_SUBSCRIPTION_UPDATE

      public static final MarkerType REPLICATED_SUBSCRIPTION_UPDATE
    • TXN_COMMITTING

      public static final MarkerType TXN_COMMITTING
    • TXN_COMMIT

      public static final MarkerType TXN_COMMIT
    • TXN_ABORT

      public static final MarkerType TXN_ABORT
  • Field Details

    • UNKNOWN_MARKER_VALUE

      public static final int UNKNOWN_MARKER_VALUE
      See Also:
    • REPLICATED_SUBSCRIPTION_SNAPSHOT_REQUEST_VALUE

      public static final int REPLICATED_SUBSCRIPTION_SNAPSHOT_REQUEST_VALUE
      See Also:
    • REPLICATED_SUBSCRIPTION_SNAPSHOT_RESPONSE_VALUE

      public static final int REPLICATED_SUBSCRIPTION_SNAPSHOT_RESPONSE_VALUE
      See Also:
    • REPLICATED_SUBSCRIPTION_SNAPSHOT_VALUE

      public static final int REPLICATED_SUBSCRIPTION_SNAPSHOT_VALUE
      See Also:
    • REPLICATED_SUBSCRIPTION_UPDATE_VALUE

      public static final int REPLICATED_SUBSCRIPTION_UPDATE_VALUE
      See Also:
    • TXN_COMMITTING_VALUE

      public static final int TXN_COMMITTING_VALUE
      See Also:
    • TXN_COMMIT_VALUE

      public static final int TXN_COMMIT_VALUE
      See Also:
    • TXN_ABORT_VALUE

      public static final int TXN_ABORT_VALUE
      See Also:
  • Method Details

    • values

      public static MarkerType[] 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 MarkerType 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
    • getValue

      public int getValue()
    • valueOf

      public static MarkerType valueOf(int n)
      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:
      n - 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