Enum Class的使用
org.apache.pulsar.common.naming.TopicDomain
使用TopicDomain的程序包
-
org.apache.pulsar.client.admin中TopicDomain的使用
修饰符和类型方法说明Topics.getList(String namespace, TopicDomain topicDomain) Get the list of topics under a namespace.Topics.getList(String namespace, TopicDomain topicDomain, Map<Topics.QueryParam, Object> params) 已过时。Topics.getList(String namespace, TopicDomain topicDomain, ListTopicsOptions options) Get the list of topics under a namespace.Topics.getListAsync(String namespace, TopicDomain topicDomain) Get the list of topics under a namespace asynchronously.Topics.getListAsync(String namespace, TopicDomain topicDomain, Map<Topics.QueryParam, Object> params) 已过时。Topics.getListAsync(String namespace, TopicDomain topicDomain, ListTopicsOptions options) Get the list of topics under a namespace asynchronously. -
org.apache.pulsar.common.naming中TopicDomain的使用
修饰符和类型方法说明static TopicDomainstatic TopicDomainReturns the enum constant of this class with the specified name.static TopicDomain[]TopicDomain.values()Returns an array containing the constants of this enum class, in the order they are declared.
Topics.getList(String, TopicDomain, ListTopicsOptions)instead.