{
"operation-name" : "add",
"description" : "Adds an expiration configuration element to the cache.",
"request-properties" : {
"interval" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "Interval (in milliseconds) between subsequent runs to purge expired entries from memory and any cache stores. If you wish to disable the periodic eviction process altogether, set wakeupInterval to -1.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 60000,
"unit" : "MILLISECONDS",
"min" : 0,
"max" : 9223372036854775807,
"stability" : "default"
},
"lifespan" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "Maximum lifespan of a cache entry, after which the entry is expired cluster-wide, in milliseconds. -1 means the entries never expire.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"unit" : "MILLISECONDS",
"min" : 0,
"max" : 9223372036854775807,
"stability" : "default"
},
"max-idle" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "Maximum idle time a cache entry will be maintained in the cache, in milliseconds. If the idle time is exceeded, the entry will be expired cluster-wide. -1 means the entries never expire.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"unit" : "MILLISECONDS",
"min" : 0,
"max" : 9223372036854775807,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}