Class SmsConfig
- java.lang.Object
-
- org.dromara.sms4j.provider.config.SmsConfig
-
- Direct Known Subclasses:
SEInitializer.InitSmsConfig
public class SmsConfig extends Object
短信配置类
-
-
Field Summary
Fields Modifier and Type Field Description private IntegeraccountMax单账号每日最大发送量private ArrayList<String>blackList黑名单配置 此配置不支持yaml读取private ConfigTypeconfigType配置源类型private IntegercorePoolSize核心线程池大小private BooleanHttpLog是否打印http logprivate BooleanisPrint打印bannerprivate IntegermaxPoolSize最大线程数private IntegerminuteMax单账号每分钟最大发送private IntegerqueueCapacity队列容量private Booleanrestricted是否开启短信限制private BooleanshutdownStrategy设置线程池关闭的时候等待所有任务都完成再继续销毁其他的Bean
-
Constructor Summary
Constructors Constructor Description SmsConfig()
-
-
-
Field Detail
-
configType
private ConfigType configType
配置源类型
-
isPrint
private Boolean isPrint
打印banner
-
restricted
private Boolean restricted
是否开启短信限制
-
accountMax
private Integer accountMax
单账号每日最大发送量
-
minuteMax
private Integer minuteMax
单账号每分钟最大发送
-
corePoolSize
private Integer corePoolSize
核心线程池大小
-
maxPoolSize
private Integer maxPoolSize
最大线程数
-
queueCapacity
private Integer queueCapacity
队列容量
-
shutdownStrategy
private Boolean shutdownStrategy
设置线程池关闭的时候等待所有任务都完成再继续销毁其他的Bean
-
HttpLog
private Boolean HttpLog
是否打印http log
-
-