{
"operation-name" : "add",
"description" : "Adds an enhanced thread pool.",
"request-properties" : {
"core-threads" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The core thread pool size which is smaller than the maximum pool size. If undefined, the core thread pool size is the same as the maximum thread pool size.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min" : 0,
"max" : 2147483647,
"stability" : "default"
},
"keepalive-time" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"time" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The time",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"stability" : "default"
},
"unit" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The time unit",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"allowed" : [
"NANOSECONDS",
"MICROSECONDS",
"MILLISECONDS",
"SECONDS",
"MINUTES",
"HOURS",
"DAYS"
],
"stability" : "default"
}
}
},
"max-threads" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The maximum thread pool size.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min" : 0,
"max" : 2147483647,
"stability" : "default"
},
"thread-factory" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Specifies the name of a specific thread factory to use to create worker threads. If not defined an appropriate default thread factory will be used.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"capability-reference" : "org.wildfly.threads.thread-factory",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}