Enum TopicOperation
- java.lang.Object
-
- java.lang.Enum<TopicOperation>
-
- org.apache.pulsar.common.policies.data.TopicOperation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TopicOperation>
public enum TopicOperation extends java.lang.Enum<TopicOperation>
Topic authorization operations.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TopicOperationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TopicOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOOKUP
public static final TopicOperation LOOKUP
-
PRODUCE
public static final TopicOperation PRODUCE
-
CONSUME
public static final TopicOperation CONSUME
-
COMPACT
public static final TopicOperation COMPACT
-
EXPIRE_MESSAGES
public static final TopicOperation EXPIRE_MESSAGES
-
OFFLOAD
public static final TopicOperation OFFLOAD
-
PEEK_MESSAGES
public static final TopicOperation PEEK_MESSAGES
-
RESET_CURSOR
public static final TopicOperation RESET_CURSOR
-
SKIP
public static final TopicOperation SKIP
-
TERMINATE
public static final TopicOperation TERMINATE
-
UNLOAD
public static final TopicOperation UNLOAD
-
GRANT_PERMISSION
public static final TopicOperation GRANT_PERMISSION
-
GET_PERMISSION
public static final TopicOperation GET_PERMISSION
-
REVOKE_PERMISSION
public static final TopicOperation REVOKE_PERMISSION
-
ADD_BUNDLE_RANGE
public static final TopicOperation ADD_BUNDLE_RANGE
-
GET_BUNDLE_RANGE
public static final TopicOperation GET_BUNDLE_RANGE
-
DELETE_BUNDLE_RANGE
public static final TopicOperation DELETE_BUNDLE_RANGE
-
SUBSCRIBE
public static final TopicOperation SUBSCRIBE
-
GET_SUBSCRIPTIONS
public static final TopicOperation GET_SUBSCRIPTIONS
-
UNSUBSCRIBE
public static final TopicOperation UNSUBSCRIBE
-
GET_STATS
public static final TopicOperation GET_STATS
-
GET_METADATA
public static final TopicOperation GET_METADATA
-
GET_BACKLOG_SIZE
public static final TopicOperation GET_BACKLOG_SIZE
-
SET_REPLICATED_SUBSCRIPTION_STATUS
public static final TopicOperation SET_REPLICATED_SUBSCRIPTION_STATUS
-
GET_REPLICATED_SUBSCRIPTION_STATUS
public static final TopicOperation GET_REPLICATED_SUBSCRIPTION_STATUS
-
-
Method Detail
-
values
public static TopicOperation[] 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 (TopicOperation c : TopicOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TopicOperation 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
-
-