Overload | Description |
---|---|
AddOrGetExisting<T>(String,T,DateTimeOffset,String) | Inserts a cache entry into the cache, by using a key, an object for the cache entry, an absolute expiration value, and an optional region to add the cache into. The absolute expiration will be the same for both the primary and secondary cache providers. |
AddOrGetExisting<T>(CacheItem,CacheItemPolicy) | Inserts the specified System.Runtime.Caching.CacheItem object into the cache, specifying information about how the entry will be evicted. The expiration policy will be the same for both the primary and secondary cache providers. |
AddOrGetExisting<T>(String,T,CacheItemPolicy,String) | Inserts a cache entry into the cache, specifying a key and a value for the cache entry, and information about how the entry will be evicted. The expiration policy will be the same for both the primary and secondary cache providers. |
AddOrGetExisting<T>(String,T,String) | If an item exists in the primary or secondary cache then it is returned, otherwise it is added and null is returned. The default expiration for the primary and secondary cache providers are used. |
AddOrGetExisting<T>(SmartParms,T) | If an item exists in the primary or secondary cache then it is returned, otherwise it is added and null is returned. The default expiration for the primary and secondary cache providers are used. |