Enum Class MarkerType

java.lang.Object
java.lang.Enum<MarkerType>
org.apache.pulsar.common.api.proto.MarkerType
所有已实现的接口:
Serializable, Comparable<MarkerType>, Constable

public enum MarkerType extends Enum<MarkerType>
  • 枚举常量详细资料

    • 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
  • 字段详细资料

    • UNKNOWN_MARKER_VALUE

      public static final int UNKNOWN_MARKER_VALUE
      另请参阅:
    • REPLICATED_SUBSCRIPTION_SNAPSHOT_REQUEST_VALUE

      public static final int REPLICATED_SUBSCRIPTION_SNAPSHOT_REQUEST_VALUE
      另请参阅:
    • REPLICATED_SUBSCRIPTION_SNAPSHOT_RESPONSE_VALUE

      public static final int REPLICATED_SUBSCRIPTION_SNAPSHOT_RESPONSE_VALUE
      另请参阅:
    • REPLICATED_SUBSCRIPTION_SNAPSHOT_VALUE

      public static final int REPLICATED_SUBSCRIPTION_SNAPSHOT_VALUE
      另请参阅:
    • REPLICATED_SUBSCRIPTION_UPDATE_VALUE

      public static final int REPLICATED_SUBSCRIPTION_UPDATE_VALUE
      另请参阅:
    • TXN_COMMITTING_VALUE

      public static final int TXN_COMMITTING_VALUE
      另请参阅:
    • TXN_COMMIT_VALUE

      public static final int TXN_COMMIT_VALUE
      另请参阅:
    • TXN_ABORT_VALUE

      public static final int TXN_ABORT_VALUE
      另请参阅:
  • 方法详细资料

    • values

      public static MarkerType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • 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.)
      参数:
      n - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值