Enum Class的使用
org.apache.pulsar.client.api.CompressionType
使用CompressionType的程序包
-
org.apache.pulsar.client.api中CompressionType的使用
修饰符和类型方法说明static CompressionTypeReturns the enum constant of this class with the specified name.static CompressionType[]CompressionType.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明ProducerBuilder.compressionType(CompressionType compressionType) Set the compression type for the producer.