RedisCache Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class RedisCache : IDisposable, Microsoft::Extensions::Caching::Distributed::IDistributedCache
public class RedisCache : IDisposable, Microsoft.Extensions.Caching.Distributed.IDistributedCache
type RedisCache = class
interface IDistributedCache
interface IDisposable
Public Class RedisCache
Implements IDisposable, IDistributedCache
- Inheritance
-
RedisCache
- Implements
Constructors
RedisCache(IOptions<RedisCacheOptions>) |
Methods
Extension Methods
GetString(IDistributedCache, String) |
Gets a string from the specified cache with the specified key. |
GetStringAsync(IDistributedCache, String, CancellationToken) |
Asynchronously gets a string from the specified cache with the specified key. |
Set(IDistributedCache, String, Byte[]) |
Sets a sequence of bytes in the specified cache with the specified key. |
SetAsync(IDistributedCache, String, Byte[], CancellationToken) |
Asynchronously sets a sequence of bytes in the specified cache with the specified key. |
SetString(IDistributedCache, String, String, DistributedCacheEntryOptions) |
Sets a string in the specified cache with the specified key. |
SetString(IDistributedCache, String, String) |
Sets a string in the specified cache with the specified key. |
SetStringAsync(IDistributedCache, String, String, DistributedCacheEntryOptions, CancellationToken) |
Asynchronously sets a string in the specified cache with the specified key. |
SetStringAsync(IDistributedCache, String, String, CancellationToken) |
Asynchronously sets a string in the specified cache with the specified key. |