Enum PolicyName
- java.lang.Object
-
- java.lang.Enum<PolicyName>
-
- org.apache.pulsar.common.policies.data.PolicyName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PolicyName>
public enum PolicyName extends java.lang.Enum<PolicyName>
PolicyName authorization operations.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PolicyName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PolicyName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
values
public static PolicyName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PolicyName c : PolicyName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PolicyName valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-