Enum Class PolicyName

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

public enum PolicyName extends Enum<PolicyName>
PolicyName authorization operations.
  • 枚举常量详细资料

    • ALL

      public static final PolicyName ALL
    • ANTI_AFFINITY

      public static final PolicyName ANTI_AFFINITY
    • AUTO_SUBSCRIPTION_CREATION

      public static final PolicyName AUTO_SUBSCRIPTION_CREATION
    • AUTO_TOPIC_CREATION

      public static final PolicyName AUTO_TOPIC_CREATION
    • BACKLOG

      public static final PolicyName BACKLOG
    • COMPACTION

      public static final PolicyName COMPACTION
    • DELAYED_DELIVERY

      public static final PolicyName DELAYED_DELIVERY
    • INACTIVE_TOPIC

      public static final PolicyName INACTIVE_TOPIC
    • DEDUPLICATION

      public static final PolicyName DEDUPLICATION
    • MAX_CONSUMERS

      public static final PolicyName MAX_CONSUMERS
    • MAX_PRODUCERS

      public static final PolicyName MAX_PRODUCERS
    • DEDUPLICATION_SNAPSHOT

      public static final PolicyName DEDUPLICATION_SNAPSHOT
    • MAX_UNACKED

      public static final PolicyName MAX_UNACKED
    • MAX_SUBSCRIPTIONS

      public static final PolicyName MAX_SUBSCRIPTIONS
    • OFFLOAD

      public static final PolicyName OFFLOAD
    • PARTITION

      public static final PolicyName PARTITION
    • PERSISTENCE

      public static final PolicyName PERSISTENCE
    • RATE

      public static final PolicyName RATE
    • RETENTION

      public static final PolicyName RETENTION
    • REPLICATION

      public static final PolicyName REPLICATION
    • REPLICATION_RATE

      public static final PolicyName REPLICATION_RATE
    • SCHEMA_COMPATIBILITY_STRATEGY

      public static final PolicyName SCHEMA_COMPATIBILITY_STRATEGY
    • SUBSCRIPTION_AUTH_MODE

      public static final PolicyName SUBSCRIPTION_AUTH_MODE
    • SUBSCRIPTION_EXPIRATION_TIME

      public static final PolicyName SUBSCRIPTION_EXPIRATION_TIME
    • ENCRYPTION

      public static final PolicyName ENCRYPTION
    • TTL

      public static final PolicyName TTL
    • MAX_TOPICS

      public static final PolicyName MAX_TOPICS
    • RESOURCEGROUP

      public static final PolicyName RESOURCEGROUP
    • ENTRY_FILTERS

      public static final PolicyName ENTRY_FILTERS
    • SHADOW_TOPIC

      public static final PolicyName SHADOW_TOPIC
    • DISPATCHER_PAUSE_ON_ACK_STATE_PERSISTENT

      public static final PolicyName DISPATCHER_PAUSE_ON_ACK_STATE_PERSISTENT
  • 方法详细资料

    • values

      public static PolicyName[] 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 PolicyName 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 - 如果参数为空值