{
"operation-name" : "add",
"description" : "Adds new worker",
"request-properties" : {
"io-threads" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Specify the number of I/O threads to create for the worker. If not specified, a default will be chosen, which is calculated by cpuCount * 2",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min" : 0,
"max" : 2147483647,
"stability" : "default"
},
"stack-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The stack size (in bytes) to attempt to use for worker threads.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 0,
"min" : 0,
"max" : 9223372036854775807,
"stability" : "default"
},
"task-core-threads" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Specify the starting number of threads for the worker task thread pool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 2,
"min" : 0,
"max" : 2147483647,
"stability" : "default"
},
"task-keepalive" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Specify the number of milliseconds to keep non-core task threads alive.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 60000,
"min" : 0,
"max" : 2147483647,
"stability" : "default"
},
"task-max-threads" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Specify the maximum number of threads for the worker task thread pool.If not set, a default value used which is calculated by the formula cpuCount * 16,as long as the MaxFileDescriptorCount jmx property allows that number; otherwise the calculation takes that max into account and adjusts accordingly.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min" : 0,
"max" : 2147483647,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}