Enum Class的使用
org.apache.pulsar.client.api.HashingScheme
使用HashingScheme的程序包
-
org.apache.pulsar.client.api中HashingScheme的使用
修饰符和类型方法说明static HashingSchemeReturns the enum constant of this class with the specified name.static HashingScheme[]HashingScheme.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明ProducerBuilder.hashingScheme(HashingScheme hashingScheme) Change theHashingSchemeused to choose the partition on which to publish a particular message.