CacheGetAll
Get all the objects in the cache.
Careful, use this with caution as it can be a very expensive operation. Use a filter if possible please, since the default filter is EVERYTHING.
If no cache name is provided, the default cache is used. If a filter is provided, only keys that match the filter will be returned. A filter is a simple string that can contain wildcards and will leverage the {@link WildcardFilter} to match keys.
Method Signature
Arguments
filter
string
false
The filter to apply to the keys, this can be a simple Wildcard filter or a regex filter. The default is a simple wildcard filter.
*
cacheName
string
false
The name of the cache to get the keys from. Default is the default cache.
default
useRegex
boolean
false
If true, the filter will be treated as a full regular expression filter. Default is false.
false
Examples
Related
Last updated
Was this helpful?