Interface ICacheSupportsMultipleItems
Assembly: Volo.Abp.Caching.dll
Syntax
public interface ICacheSupportsMultipleItems
Methods
GetMany(IEnumerable<string>)
Declaration
byte[][] GetMany(IEnumerable<string> keys)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T><string> |
keys |
|
Returns
| Type |
Description |
| byte[][] |
|
GetManyAsync(IEnumerable<string>, CancellationToken)
Declaration
Task<byte[][]> GetManyAsync(IEnumerable<string> keys, CancellationToken token = default)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T><string> |
keys |
|
| System.Threading.CancellationToken |
token |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><byte[][]> |
|
RefreshMany(IEnumerable<string>)
Declaration
void RefreshMany(IEnumerable<string> keys)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T><string> |
keys |
|
RefreshManyAsync(IEnumerable<string>, CancellationToken)
Declaration
Task RefreshManyAsync(IEnumerable<string> keys, CancellationToken token = default)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T><string> |
keys |
|
| System.Threading.CancellationToken |
token |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
RemoveMany(IEnumerable<string>)
Declaration
void RemoveMany(IEnumerable<string> keys)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T><string> |
keys |
|
RemoveManyAsync(IEnumerable<string>, CancellationToken)
Declaration
Task RemoveManyAsync(IEnumerable<string> keys, CancellationToken token = default)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T><string> |
keys |
|
| System.Threading.CancellationToken |
token |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
SetMany(IEnumerable<KeyValuePair<string, byte[]>>, DistributedCacheEntryOptions)
Declaration
void SetMany(IEnumerable<KeyValuePair<string, byte[]>> items, DistributedCacheEntryOptions options)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T><KeyValuePair<string, byte[]>> |
items |
|
| Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions |
options |
|
SetManyAsync(IEnumerable<KeyValuePair<string, byte[]>>, DistributedCacheEntryOptions, CancellationToken)
Declaration
Task SetManyAsync(IEnumerable<KeyValuePair<string, byte[]>> items, DistributedCacheEntryOptions options, CancellationToken token = default)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T><KeyValuePair<string, byte[]>> |
items |
|
| Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions |
options |
|
| System.Threading.CancellationToken |
token |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Extension Methods