{
"operation-name" : "add",
"description" : "Add a distributed cache to this cache container",
"request-properties" : {
"capacity-factor" : {
"type" : {
"TYPE_MODEL_VALUE" : "DOUBLE"
},
"description" : "Controls the proportion of entries that will reside on the local node, compared to the other nodes in the cluster.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1.0,
"stability" : "default"
},
"l1-lifespan" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "Maximum lifespan of an entry placed in the L1 cache. This element configures the L1 cache behavior in 'distributed' caches instances. In any other cache modes, this element is ignored.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 0,
"unit" : "MILLISECONDS",
"min" : 0,
"max" : 9223372036854775807,
"stability" : "default"
},
"modules" : {
"type" : {
"TYPE_MODEL_VALUE" : "LIST"
},
"description" : "The set of modules associated with this cache's configuration.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 0,
"max-length" : 2147483647,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"owners" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Number of cluster-wide replicas for each cache entry.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 2,
"min" : 1,
"max" : 2147483647,
"stability" : "default"
},
"remote-timeout" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "In SYNC mode, the timeout (in ms) used to wait for an acknowledgment when making a remote call, after which the call is aborted and an exception is thrown.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 17500,
"unit" : "MILLISECONDS",
"min" : 0,
"max" : 9223372036854775807,
"stability" : "default"
},
"segments" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Controls the number of hash space segments which is the granularity for key distribution in the cluster. Value must be strictly positive.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 256,
"min" : 1,
"max" : 2147483647,
"stability" : "default"
},
"statistics-enabled" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "If enabled, statistics will be collected for this cache",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}