public static enum RocketMQProducerProperties.SendType extends Enum<RocketMQProducerProperties.SendType>
| Enum Constant and Description |
|---|
Async
Asynchronization Model.
|
OneWay
one way.
|
Sync
synchronization.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsName(String name) |
static RocketMQProducerProperties.SendType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RocketMQProducerProperties.SendType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RocketMQProducerProperties.SendType OneWay
public static final RocketMQProducerProperties.SendType Async
public static final RocketMQProducerProperties.SendType Sync
public static RocketMQProducerProperties.SendType[] values()
for (RocketMQProducerProperties.SendType c : RocketMQProducerProperties.SendType.values()) System.out.println(c);
public static RocketMQProducerProperties.SendType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean equalsName(String name)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.