CacheGetAsAttempt
Get an item from the cache and return it as a Java {@link Optional}.
By default, the {@code cacheName} is set to {@code default}.
Method Signature
CacheGetAsAttempt(id=[string], cacheName=[string])
Arguments
Argument
Type
Required
Description
Default
id
string
true
The cache id to retrieve
cacheName
string
false
The cache name to retrieve the id from, defaults to {@code default}
default
Examples
Related
Last updated
Was this helpful?