newTieredCache function
Creates a new TieredCache with a primary and secondary Cache instances
primary
: The primary cachesecondary
: The secondary cache
Returns a Cache backed by a TieredCache
Implementation
Cache newTieredCache(Cache primary, Cache secondary) {
return Cache.newTieredCache(primary, secondary);
}