Enum Class的使用
org.apache.pulsar.client.api.ProducerCryptoFailureAction
-
org.apache.pulsar.client.api中ProducerCryptoFailureAction的使用
修饰符和类型方法说明static ProducerCryptoFailureActionReturns the enum constant of this class with the specified name.static ProducerCryptoFailureAction[]ProducerCryptoFailureAction.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明ProducerBuilder.cryptoFailureAction(ProducerCryptoFailureAction action) Set the ProducerCryptoFailureAction to the value specified.