Enum Class的使用
org.apache.pulsar.client.api.ProducerAccessMode
使用ProducerAccessMode的程序包
-
org.apache.pulsar.client.api中ProducerAccessMode的使用
修饰符和类型方法说明static ProducerAccessModeReturns the enum constant of this class with the specified name.static ProducerAccessMode[]ProducerAccessMode.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明ProducerBuilder.accessMode(ProducerAccessMode accessMode) Configure the type of access mode that the producer requires on the topic.