Class MultiTierCache<K, V, Tiers, CacheTag>Abstract
Multi‑tier cache that composes multiple CacheInterface instances.
Reads are cascaded through the tiers (fastest first). When a lower tier
hits, all faster tiers are back‑filled. Writes are propagated to every
tier via their setDirect method.
The WriteResultAvailable flag must be supplied explicitly. If you want
to mix a false tier (e.g. Write‑Around) into a true cache, simply cast it
as CacheInterface<K, V, Tag, true> – the key is provided but the tier
can safely ignore it.
Multi‑tier cache that composes multiple CacheInterface instances.
Reads are cascaded through the tiers (fastest first). When a lower tier hits, all faster tiers are back‑filled. Writes are propagated to every tier via their setDirect method.
The
WriteResultAvailableflag must be supplied explicitly. If you want to mix afalsetier (e.g. Write‑Around) into atruecache, simply cast itas CacheInterface<K, V, Tag, true>– the key is provided but the tier can safely ignore it.