{
"operation-name" : "add",
"description" : "Adds a new byte buffer pool",
"request-properties" : {
"buffer-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The size of the buffer",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min" : 0,
"max" : 2147483647,
"stability" : "default"
},
"direct" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "If this is true the buffer pool will use direct buffers, this is recommended for best performance",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"leak-detection-percent" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The percentage of buffers that will be allocated with a leak detector. This should only be larger than zero if you are experiencing issues with buffers leaking.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 0,
"min" : 0,
"max" : 2147483647,
"stability" : "default"
},
"max-pool-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The maximum amount of buffers to keep in the pool. If more buffers are required at runtime they will be allocated dynamically. Setting this to zero effectively disables pooling.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min" : 0,
"max" : 2147483647,
"stability" : "default"
},
"thread-local-cache-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The maximum number of buffers to cache on each thread. The actual number may be lower depending on the calculated usage pattern.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 12,
"min" : 0,
"max" : 2147483647,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}