Skip to main content

IRedisSetAsync

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisSetAsync : 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

GetRangeFromSortedSetAsync(Int32, Int32, CancellationToken)

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

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

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

GetAllAsync(CancellationToken)

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

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

Parameters
TypeName
System.Threading.CancellationTokentoken

PopAsync(CancellationToken)

View Source
Declaration
ValueTask<string> PopAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Threading.CancellationTokentoken

MoveAsync(String, IRedisSetAsync, CancellationToken)

View Source
Declaration
ValueTask MoveAsync(string value, IRedisSetAsync toSet, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Stringvalue
ServiceStack.Redis.IRedisSetAsynctoSet
System.Threading.CancellationTokentoken

IntersectAsync(IRedisSetAsync[], CancellationToken)

View Source
Declaration
ValueTask<HashSet<string>> IntersectAsync(IRedisSetAsync[] withSets, CancellationToken token = default(CancellationToken))
Returns

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

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

IntersectAsync(IRedisSetAsync[])

View Source
Declaration
ValueTask<HashSet<string>> IntersectAsync(params IRedisSetAsync[] withSets)
Returns

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

Parameters
TypeName
ServiceStack.Redis.IRedisSetAsync[]withSets

StoreIntersectAsync(IRedisSetAsync[], CancellationToken)

View Source
Declaration
ValueTask StoreIntersectAsync(IRedisSetAsync[] withSets, CancellationToken token = default(CancellationToken))
Returns

ValueTask

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

StoreIntersectAsync(IRedisSetAsync[])

View Source
Declaration
ValueTask StoreIntersectAsync(params IRedisSetAsync[] withSets)
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.IRedisSetAsync[]withSets

UnionAsync(IRedisSetAsync[], CancellationToken)

View Source
Declaration
ValueTask<HashSet<string>> UnionAsync(IRedisSetAsync[] withSets, CancellationToken token = default(CancellationToken))
Returns

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

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

UnionAsync(IRedisSetAsync[])

View Source
Declaration
ValueTask<HashSet<string>> UnionAsync(params IRedisSetAsync[] withSets)
Returns

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

Parameters
TypeName
ServiceStack.Redis.IRedisSetAsync[]withSets

StoreUnionAsync(IRedisSetAsync[], CancellationToken)

View Source
Declaration
ValueTask StoreUnionAsync(IRedisSetAsync[] withSets, CancellationToken token = default(CancellationToken))
Returns

ValueTask

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

StoreUnionAsync(IRedisSetAsync[])

View Source
Declaration
ValueTask StoreUnionAsync(params IRedisSetAsync[] withSets)
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.IRedisSetAsync[]withSets

DiffAsync(IRedisSetAsync[], CancellationToken)

View Source
Declaration
ValueTask<HashSet<string>> DiffAsync(IRedisSetAsync[] withSets, CancellationToken token = default(CancellationToken))
Returns

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

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

StoreDiffAsync(IRedisSetAsync, IRedisSetAsync[], CancellationToken)

View Source
Declaration
ValueTask StoreDiffAsync(IRedisSetAsync fromSet, IRedisSetAsync[] withSets, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.IRedisSetAsyncfromSet
ServiceStack.Redis.IRedisSetAsync[]withSets
System.Threading.CancellationTokentoken

StoreDiffAsync(IRedisSetAsync, IRedisSetAsync[])

View Source
Declaration
ValueTask StoreDiffAsync(IRedisSetAsync fromSet, params IRedisSetAsync[] withSets)
Returns

ValueTask

Parameters
TypeName
ServiceStack.Redis.IRedisSetAsyncfromSet
ServiceStack.Redis.IRedisSetAsync[]withSets

GetRandomEntryAsync(CancellationToken)

View Source
Declaration
ValueTask<string> GetRandomEntryAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Threading.CancellationTokentoken

RemoveAsync(String, CancellationToken)

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

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringitem
System.Threading.CancellationTokentoken

AddAsync(String, CancellationToken)

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

ValueTask

Parameters
TypeName
System.Stringitem
System.Threading.CancellationTokentoken

ContainsAsync(String, CancellationToken)

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

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringitem
System.Threading.CancellationTokentoken

ClearAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken