Cache.newTieredCache constructor

Cache.newTieredCache(
  1. Cache primary,
  2. Cache secondary
)

Builds a new Tiered Cache

  • primary: The primary cache
  • secondary: The secondary cache

Returns a new Cache

Implementation

factory Cache.newTieredCache(Cache primary, Cache secondary) {
  return TieredCache(primary, secondary);
}