Options
All
  • Public
  • Public/Protected
  • All
Menu

When an update arrives from a higher level cache, how should we update lower level caches?

Index

Enumeration members

Enumeration members

Always

Always = 1

Set the key/value in our lower level storage unconditionally. This might be important for permenant storage hierarchies or higher read performance (at the cost of write performance and space).

OnlyIfKeyExist

OnlyIfKeyExist = 0

Only update lower level storage if the key currently resides in them. The next get on the key will be forced to retrieve from the higher level, so this maintains consistency while not requiring extra storage (at the cost of performance).

Generated using TypeDoc