{
"operation-name" : "add",
"description" : "Adds a locking configuration element to the cache.",
"request-properties" : {
"acquire-timeout" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "Maximum time to attempt a particular lock acquisition.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 15000,
"unit" : "MILLISECONDS",
"min" : 0,
"max" : 9223372036854775807,
"stability" : "default"
},
"concurrency-level" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Concurrency level for lock containers. Adjust this value according to the number of concurrent threads interacting with Infinispan.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1000,
"stability" : "default",
"deprecated" : {
"since" : "17.0.0",
"reason" : "Deprecated. This attribute will be ignored."
}
},
"isolation" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Sets the cache locking isolation level.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "READ_COMMITTED",
"allowed" : [
"NONE",
"SERIALIZABLE",
"REPEATABLE_READ",
"READ_COMMITTED",
"READ_UNCOMMITTED"
],
"stability" : "default"
},
"striping" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "If true, a pool of shared locks is maintained for all entries that need to be locked. Otherwise, a lock is created per entry in the cache. Lock striping helps control memory footprint but may reduce concurrency in the system.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}