Overload List

  NameDescription
AddToAllMachines(String, Object, DateTime)
Add a CacheItem and update all machines if any (does nothing when EasyCache is not Active)

This will send cache invalidation updates automatically across all machines,

WARNING: use carefully only when needed to avoid excessive network traffic and slowness - otherwise use Add().

CacheDependency dependencies defaults to null

TimeSpan slidingExpiration defaults to Cache.NoSlidingExpiration

CacheItemPriority priority defaults to CacheItemPriority.NotRemovable

AddToAllMachines(String, Object, DateTime, CacheItemPriority)
Add a CacheItem and update all machines if any (does nothing when EasyCache is not Active),

This will send cache invalidation updates automatically across all machines.

WARNING: use carefully only when needed to avoid excessive network traffic and slowness - otherwise use Add().

CacheDependency dependencies defaults to null

TimeSpan slidingExpiration defaults to Cache.NoSlidingExpiration

AddToAllMachines(String, Object, CacheDependency, DateTime)
Add a CacheItem and update all machines if any (does nothing when EasyCache is not Active),

This will send cache invalidation updates automatically across all machines.

WARNING: use carefully only when needed to avoid excessive network traffic and slowness - otherwise use Add().

TimeSpan slidingExpiration defaults to Cache.NoSlidingExpiration

CacheItemPriority priority defaults to CacheItemPriority.NotRemovable

AddToAllMachines(String, Object, CacheDependency, DateTime, CacheItemPriority)
Add a CacheItem and update all machines if any (does nothing when EasyCache is not Active),

This will send cache invalidation updates automatically across all machines.

WARNING: use carefully only when needed to avoid excessive network traffic and slowness - otherwise use Add().

TimeSpan slidingExpiration defaults to Cache.NoSlidingExpiration

AddToAllMachines(String, Object, CacheDependency, DateTime, TimeSpan, CacheItemPriority)
Add a CacheItem and update all machines if any (does nothing when EasyCache is not Active),

This will send cache invalidation updates automatically across all machines.

WARNING: use carefully only when needed to avoid excessive network traffic and slowness - otherwise use Add().

See Also