Class DebounceProperties
-
- All Implemented Interfaces:
@ConfigurationProperties(prefix = "common.debounce") public final class DebouncePropertiesCJ
-
-
Field Summary
Fields Modifier and Type Field Description private Booleanenabledprivate BooleanasyncSendingprivate Stringtopicprivate BooleanrocketMqAbove5private StringrocketMqConsumerGroup
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()final UnitsetEnabled(Boolean enabled)final BooleangetAsyncSending()异步发送消息,默认是同步发送 final UnitsetAsyncSending(Boolean asyncSending)异步发送消息,默认是同步发送 final StringgetTopic()延时 mq 的名称 final UnitsetTopic(String topic)延时 mq 的名称 final BooleangetRocketMqAbove5()使用的是 5. final UnitsetRocketMqAbove5(Boolean rocketMqAbove5)使用的是 5. final StringgetRocketMqConsumerGroup()消费组 final UnitsetRocketMqConsumerGroup(String rocketMqConsumerGroup)消费组 -
-
Method Detail
-
getEnabled
final Boolean getEnabled()
-
setEnabled
final Unit setEnabled(Boolean enabled)
-
getAsyncSending
final Boolean getAsyncSending()
异步发送消息,默认是同步发送
-
setAsyncSending
final Unit setAsyncSending(Boolean asyncSending)
异步发送消息,默认是同步发送
-
getRocketMqAbove5
final Boolean getRocketMqAbove5()
使用的是 5.0以上的 rocketMQ
-
setRocketMqAbove5
final Unit setRocketMqAbove5(Boolean rocketMqAbove5)
使用的是 5.0以上的 rocketMQ
-
getRocketMqConsumerGroup
final String getRocketMqConsumerGroup()
消费组
-
setRocketMqConsumerGroup
final Unit setRocketMqConsumerGroup(String rocketMqConsumerGroup)
消费组
-
-
-
-