Skip to main content

IRedisSetAsync<T>

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisSetAsync<T> : IHasStringId, IHasId<string>

Methods

CountAsync(CancellationToken)

View Source
Declaration
ValueTask<int> CountAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int32>

Parameters
TypeName
System.Threading.CancellationTokentoken

SortAsync(Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<T>> SortAsync(int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.Int32startingFrom
System.Int32endingAt
System.Threading.CancellationTokentoken

GetAllAsync(CancellationToken)

View Source
Declaration
ValueTask<HashSet<T>> GetAllAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.HashSet<<T>>>

Parameters
TypeName
System.Threading.CancellationTokentoken

PopRandomItemAsync(CancellationToken)

View Source
Declaration
ValueTask<T> PopRandomItemAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Threading.CancellationTokentoken

GetRandomItemAsync(CancellationToken)

View Source
Declaration
ValueTask<T> GetRandomItemAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Threading.CancellationTokentoken

MoveToAsync(T, IRedisSetAsync<T>, CancellationToken)

View Source
Declaration
ValueTask MoveToAsync(T item, IRedisSetAsync<T> toSet, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<T>item
ServiceStack.Redis.Generic.IRedisSetAsync<T>toSet
System.Threading.CancellationTokentoken

PopulateWithIntersectOfAsync(IRedisSetAsync<T>[], CancellationToken)

View Source
Declaration
ValueTask PopulateWithIntersectOfAsync(IRedisSetAsync<T>[] sets, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSetAsync`1[]sets
System.Threading.CancellationTokentoken

PopulateWithIntersectOfAsync(IRedisSetAsync<T>[])

View Source
Declaration
ValueTask PopulateWithIntersectOfAsync(params IRedisSetAsync<T>[] sets)
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSetAsync`1[]sets

PopulateWithUnionOfAsync(IRedisSetAsync<T>[], CancellationToken)

View Source
Declaration
ValueTask PopulateWithUnionOfAsync(IRedisSetAsync<T>[] sets, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSetAsync`1[]sets
System.Threading.CancellationTokentoken

PopulateWithUnionOfAsync(IRedisSetAsync<T>[])

View Source
Declaration
ValueTask PopulateWithUnionOfAsync(params IRedisSetAsync<T>[] sets)
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSetAsync`1[]sets

GetDifferencesAsync(IRedisSetAsync<T>[], CancellationToken)

View Source
Declaration
ValueTask GetDifferencesAsync(IRedisSetAsync<T>[] withSets, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSetAsync`1[]withSets
System.Threading.CancellationTokentoken

GetDifferencesAsync(IRedisSetAsync<T>[])

View Source
Declaration
ValueTask GetDifferencesAsync(params IRedisSetAsync<T>[] withSets)
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSetAsync`1[]withSets

PopulateWithDifferencesOfAsync(IRedisSetAsync<T>, IRedisSetAsync<T>[], CancellationToken)

View Source
Declaration
ValueTask PopulateWithDifferencesOfAsync(IRedisSetAsync<T> fromSet, IRedisSetAsync<T>[] withSets, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSetAsync<T>fromSet
ServiceStack.Redis.Generic.IRedisSetAsync`1[]withSets
System.Threading.CancellationTokentoken

PopulateWithDifferencesOfAsync(IRedisSetAsync<T>, IRedisSetAsync<T>[])

View Source
Declaration
ValueTask PopulateWithDifferencesOfAsync(IRedisSetAsync<T> fromSet, params IRedisSetAsync<T>[] withSets)
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSetAsync<T>fromSet
ServiceStack.Redis.Generic.IRedisSetAsync`1[]withSets

ClearAsync(CancellationToken)

View Source
Declaration
ValueTask ClearAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

ContainsAsync(T, CancellationToken)

View Source
Declaration
ValueTask<bool> ContainsAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

RemoveAsync(T, CancellationToken)

View Source
Declaration
ValueTask<bool> RemoveAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

AddAsync(T, CancellationToken)

View Source
Declaration
ValueTask AddAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken