Options
All
  • Public
  • Public/Protected
  • All
Menu

In a distributed environment, multiple instances could write to cache at once. This option determines what should happen if an exiting entry is found in a higher level cache.

Index

Enumeration members

OverwriteAged

OverwriteAged = 1

When our entry is newer, then allow it to take precedence and overwrite the higher level caches. Refresh the lower level caches if older

OverwriteAlways

OverwriteAlways = 2

Unconditionally overwrite the value that's stored in higher level caches

RefreshAlways

RefreshAlways = 0

When a higher level cache has a key, refresh the lower level keys and only overwrite if the force option is supplied

Generated using TypeDoc