Skip to content

Commit 53fdc16

Browse files
authored
Merge pull request dromara#498 from KamToHung/master
perfect additional-spring-configuration-metadata.json
2 parents 70e00e3 + 8e6c3c5 commit 53fdc16

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

starter/starter-common/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,58 @@
461461
"name": "spring.dynamic.tp.zookeeper.zk-connect-str",
462462
"type": "java.lang.String",
463463
"sourceType": "org.dromara.dynamictp.common.properties.DtpProperties$Zookeeper"
464+
},
465+
{
466+
"name": "spring.dynamic.tp.env",
467+
"type": "java.lang.String",
468+
"description": "Environment, if not set, will use \"spring.profiles.active\".",
469+
"sourceType": "org.dromara.dynamictp.common.properties.DtpProperties"
470+
},
471+
{
472+
"name": "spring.dynamic.tp.global-executor-props",
473+
"type": "org.dromara.dynamictp.common.entity.DtpExecutorProps",
474+
"description": "ThreadPoolExecutor global configs.",
475+
"sourceType": "org.dromara.dynamictp.common.properties.DtpProperties"
476+
},
477+
{
478+
"name": "spring.dynamic.tp.global-executor-props.executor-type",
479+
"type": "java.lang.String",
480+
"description": "ThreadPoolExecutor type, see {@link ExecutorType}",
481+
"sourceType": "org.dromara.dynamictp.common.entity.DtpExecutorProps"
482+
},
483+
{
484+
"name": "spring.dynamic.tp.global-executor-props.queue-type",
485+
"type": "java.lang.String",
486+
"description": "ThreadPoolExecutor queue type, see {@link QueueTypeEnum}",
487+
"defaultValue": "VariableLinkedBlockingQueue",
488+
"sourceType": "org.dromara.dynamictp.common.entity.DtpExecutorProps"
489+
},
490+
{
491+
"name": "spring.dynamic.tp.global-executor-props.fair",
492+
"type": "java.lang.Boolean",
493+
"description": "ThreadPoolExecutor fair.",
494+
"defaultValue": false,
495+
"sourceType": "org.dromara.dynamictp.common.entity.DtpExecutorProps"
496+
},
497+
{
498+
"name": "spring.dynamic.tp.global-executor-props.pre-start-all-core-threads",
499+
"type": "java.lang.Boolean",
500+
"description": "ThreadPoolExecutor pre start all core threads.",
501+
"defaultValue": false,
502+
"sourceType": "org.dromara.dynamictp.common.entity.DtpExecutorProps"
503+
},
504+
{
505+
"name": "spring.dynamic.tp.global-executor-props.plugin-names",
506+
"type": "java.util.Set<java.lang.String>",
507+
"description": "ThreadPoolExecutor plugin names.",
508+
"sourceType": "org.dromara.dynamictp.common.entity.DtpExecutorProps"
509+
},
510+
{
511+
"name": "spring.dynamic.tp.global-executor-props.auto-create",
512+
"type": "java.lang.Boolean",
513+
"description": "ThreadPoolExecutor auto create.",
514+
"defaultValue": true,
515+
"sourceType": "org.dromara.dynamictp.common.entity.DtpExecutorProps"
464516
}
465517
],
466518
"hints": []

0 commit comments

Comments
 (0)