| 程序包 | 说明 |
|---|---|
| org.apache.pulsar.client.api |
| 限定符和类型 | 方法和说明 |
|---|---|
static SubscriptionType |
SubscriptionType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SubscriptionType[] |
SubscriptionType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConsumerBuilder<T> |
ConsumerBuilder.subscriptionType(SubscriptionType subscriptionType)
Select the subscription type to be used when subscribing to the topic.
|
Copyright © 2017–2019 Apache Software Foundation. All rights reserved.