This method is a combination of GetItem()
and AddItem()
which retrieves a value if it exists, or sets a value if it doesn't. In either case the value (existing or new) is returned.
o.GetOrAddItem(lcKey, lcNewValue, lnTimeoutSeconds)
Parameters
lcKey
Key to set
lcNewValue
The value to set if the key does not already exist.
lnTimeoutSeconds
Timeout for this cache entry in seconds
See also:
Class wwCache© West Wind Technologies, 1996-2024 • Updated: 05/30/24
Comment or report problem with topic