Enum Class的使用
org.apache.pulsar.common.api.proto.KeySharedMode
使用KeySharedMode的程序包
-
org.apache.pulsar.common.api.proto中KeySharedMode的使用
修饰符和类型方法说明KeySharedMeta.getKeySharedMode()static KeySharedModeKeySharedMode.valueOf(int n) Returns the enum constant of this class with the specified name.static KeySharedModeReturns the enum constant of this class with the specified name.static KeySharedMode[]KeySharedMode.values()Returns an array containing the constants of this enum class, in the order they are declared.