Enum Class的使用
org.apache.pulsar.client.api.RegexSubscriptionMode
使用RegexSubscriptionMode的程序包
-
org.apache.pulsar.client.api中RegexSubscriptionMode的使用
修饰符和类型方法说明static RegexSubscriptionModeReturns the enum constant of this class with the specified name.static RegexSubscriptionMode[]RegexSubscriptionMode.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明ConsumerBuilder.subscriptionTopicsMode(RegexSubscriptionMode regexSubscriptionMode) Determines which topics this consumer should be subscribed to - Persistent, Non-Persistent, or both.