public enum RegexSubscriptionMode extends Enum<RegexSubscriptionMode>
枚举常量和说明 |
---|
AllTopics
Subscribe to both persistent and non-persistent topics
|
NonPersistentOnly
Only subscribe to non-persistent topics
|
PersistentOnly
Only subscribe to persistent topics
|
public static final RegexSubscriptionMode PersistentOnly
public static final RegexSubscriptionMode NonPersistentOnly
public static final RegexSubscriptionMode AllTopics
public static RegexSubscriptionMode[] values()
for (RegexSubscriptionMode c : RegexSubscriptionMode.values()) System.out.println(c);
public static RegexSubscriptionMode valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2017–2019 Apache Software Foundation. All rights reserved.