All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.config-template.example.framework.application.properties Maven / Gradle / Ivy

################################################################################################
################################################################################################
###################                                                      #######################
###################                    系统环境配置                        #######################
###################                                                      #######################
################################################################################################
################################################################################################
# 是否是开发模式
application.dev-mode=[true|false]                                              [optional]   default: true

application.encoding=UTF-8                                                     [optional]   default: UTF-8
application.force-encoding=true                                                [optional]   default: true

# banner配置
application.banner.enable=[true|false]                                         [optional]   default: true
application.banner.mode=[CONSOLE|LOGGER]                                       [optional]   default: CONSOLE
application.banner.charset=UTF-8                                               [optional]   default: UTF-8
application.banner.location=banner.txt                                         [optional]   default: banner.txt
application.banner.image.location=[empty]                                      [optional]   default: empty
application.banner.image.width=76                                              [optional]   default: 76
application.banner.image.height=0                                              [optional]   default: 0
application.banner.image.margin=2                                              [optional]   default: 2
application.banner.image.invert=false                                          [optional]   default: false

# 配置线程池
application.thread.core-pool-size=[default is 1]                               [optional]   default: 1
application.thread.max-pool-size=[default is Integer.MAX_VALUE]                [optional]   default: Integer.MAX_VALUE
application.thread.keep-alive-seconds=[default is 60]                          [optional]   default: 60
application.thread.allow-core-thread-time-out=[default is false]               [optional]   default: false
application.thread.queue-capacity=[default is Integer.MAX_VALUE]               [optional]   default: Integer.MAX_VALUE
application.thread.expose-unconfigurable-executor=[default is false]           [optional]   default: false




© 2015 - 2024 Weber Informatics LLC | Privacy Policy