Skip to main content

IRedisListAsync

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

GetAllAsync(CancellationToken)

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

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

Parameters
TypeName
System.Threading.CancellationTokentoken

GetRangeAsync(Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeAsync(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

GetRangeFromSortedListAsync(Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromSortedListAsync(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

RemoveAllAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

TrimAsync(Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask TrimAsync(int keepStartingFrom, int keepEndingAt, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Int32keepStartingFrom
System.Int32keepEndingAt
System.Threading.CancellationTokentoken

RemoveValueAsync(String, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveValueAsync(string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Stringvalue
System.Threading.CancellationTokentoken

RemoveValueAsync(String, Int32, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveValueAsync(string value, int noOfMatches, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Stringvalue
System.Int32noOfMatches
System.Threading.CancellationTokentoken

PrependAsync(String, CancellationToken)

View Source
Declaration
ValueTask PrependAsync(string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Stringvalue
System.Threading.CancellationTokentoken

AppendAsync(String, CancellationToken)

View Source
Declaration
ValueTask AppendAsync(string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Stringvalue
System.Threading.CancellationTokentoken

RemoveStartAsync(CancellationToken)

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

ValueTask<System.String>

Parameters
TypeName
System.Threading.CancellationTokentoken

BlockingRemoveStartAsync(Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<string> BlockingRemoveStartAsync(TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

RemoveEndAsync(CancellationToken)

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

ValueTask<System.String>

Parameters
TypeName
System.Threading.CancellationTokentoken

EnqueueAsync(String, CancellationToken)

View Source
Declaration
ValueTask EnqueueAsync(string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Stringvalue
System.Threading.CancellationTokentoken

DequeueAsync(CancellationToken)

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

ValueTask<System.String>

Parameters
TypeName
System.Threading.CancellationTokentoken

BlockingDequeueAsync(Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<string> BlockingDequeueAsync(TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

PushAsync(String, CancellationToken)

View Source
Declaration
ValueTask PushAsync(string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Stringvalue
System.Threading.CancellationTokentoken

PopAsync(CancellationToken)

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

ValueTask<System.String>

Parameters
TypeName
System.Threading.CancellationTokentoken

BlockingPopAsync(Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<string> BlockingPopAsync(TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

PopAndPushAsync(IRedisListAsync, CancellationToken)

View Source
Declaration
ValueTask<string> PopAndPushAsync(IRedisListAsync toList, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
ServiceStack.Redis.IRedisListAsynctoList
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

RemoveAtAsync(Int32, CancellationToken)

View Source
Declaration
ValueTask RemoveAtAsync(int index, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Int32index
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

IndexOfAsync(String, CancellationToken)

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

ValueTask<System.Int32>

Parameters
TypeName
System.Stringitem
System.Threading.CancellationTokentoken

ElementAtAsync(Int32, CancellationToken)

View Source
Declaration
ValueTask<string> ElementAtAsync(int index, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Int32index
System.Threading.CancellationTokentoken

SetValueAsync(Int32, String, CancellationToken)

View Source
Declaration
ValueTask SetValueAsync(int index, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Int32index
System.Stringvalue
System.Threading.CancellationTokentoken