{
"operation-name" : "add",
"description" : "Add a load metric to the set of load metrics to calculate the load factor from.",
"request-properties" : {
"capacity" : {
"type" : {
"TYPE_MODEL_VALUE" : "DOUBLE"
},
"description" : "Maximum capacity of the metric used to normalize the load values from a metric which require explicit capacity.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1.0,
"stability" : "default"
},
"class" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Class name to use to construct a load metric from.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"module" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Module name from which to load the load metric class.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "org.wildfly.extension.mod_cluster",
"stability" : "default"
},
"property" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "Properties to apply on a loaded metric instance.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"weight" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Number indicating the significance of a metric with respect to the other metrics. For example, a metric of weight 2 will have twice the impact on the overall load factor than a metric of weight 1.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}