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
Type | Name |
---|---|
System.Threading.CancellationToken | token |
GetAllAsync(CancellationToken)
View Source
Declaration
ValueTask<List<string>> GetAllAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
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
Type | Name |
---|---|
System.Int32 | startingFrom |
System.Int32 | endingAt |
System.Threading.CancellationToken | token |
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
Type | Name |
---|---|
System.Int32 | startingFrom |
System.Int32 | endingAt |
System.Threading.CancellationToken | token |
RemoveAllAsync(CancellationToken)
View Source
Declaration
ValueTask RemoveAllAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
TrimAsync(Int32, Int32, CancellationToken)
View Source
Declaration
ValueTask TrimAsync(int keepStartingFrom, int keepEndingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Int32 | keepStartingFrom |
System.Int32 | keepEndingAt |
System.Threading.CancellationToken | token |
RemoveValueAsync(String, CancellationToken)
View Source
Declaration
ValueTask<long> RemoveValueAsync(string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | value |
System.Threading.CancellationToken | token |
RemoveValueAsync(String, Int32, CancellationToken)
View Source
Declaration
ValueTask<long> RemoveValueAsync(string value, int noOfMatches, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | value |
System.Int32 | noOfMatches |
System.Threading.CancellationToken | token |
PrependAsync(String, CancellationToken)
View Source
Declaration
ValueTask PrependAsync(string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | value |
System.Threading.CancellationToken | token |
AppendAsync(String, CancellationToken)
View Source
Declaration
ValueTask AppendAsync(string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | value |
System.Threading.CancellationToken | token |
RemoveStartAsync(CancellationToken)
View Source
Declaration
ValueTask<string> RemoveStartAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
BlockingRemoveStartAsync(Nullable<TimeSpan>, CancellationToken)
View Source
Declaration
ValueTask<string> BlockingRemoveStartAsync(TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
RemoveEndAsync(CancellationToken)
View Source
Declaration
ValueTask<string> RemoveEndAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
EnqueueAsync(String, CancellationToken)
View Source
Declaration
ValueTask EnqueueAsync(string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | value |
System.Threading.CancellationToken | token |
DequeueAsync(CancellationToken)
View Source
Declaration
ValueTask<string> DequeueAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
BlockingDequeueAsync(Nullable<TimeSpan>, CancellationToken)
View Source
Declaration
ValueTask<string> BlockingDequeueAsync(TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
PushAsync(String, CancellationToken)
View Source
Declaration
ValueTask PushAsync(string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | value |
System.Threading.CancellationToken | token |
PopAsync(CancellationToken)
View Source
Declaration
ValueTask<string> PopAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
BlockingPopAsync(Nullable<TimeSpan>, CancellationToken)
View Source
Declaration
ValueTask<string> BlockingPopAsync(TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
PopAndPushAsync(IRedisListAsync, CancellationToken)
View Source
Declaration
ValueTask<string> PopAndPushAsync(IRedisListAsync toList, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisListAsync | toList |
System.Threading.CancellationToken | token |
RemoveAsync(String, CancellationToken)
View Source
Declaration
ValueTask<bool> RemoveAsync(string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | item |
System.Threading.CancellationToken | token |
AddAsync(String, CancellationToken)
View Source
Declaration
ValueTask AddAsync(string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | item |
System.Threading.CancellationToken | token |
RemoveAtAsync(Int32, CancellationToken)
View Source
Declaration
ValueTask RemoveAtAsync(int index, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Int32 | index |
System.Threading.CancellationToken | token |
ContainsAsync(String, CancellationToken)
View Source
Declaration
ValueTask<bool> ContainsAsync(string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | item |
System.Threading.CancellationToken | token |
ClearAsync(CancellationToken)
View Source
Declaration
ValueTask ClearAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
IndexOfAsync(String, CancellationToken)
View Source
Declaration
ValueTask<int> IndexOfAsync(string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int32>
Parameters
Type | Name |
---|---|
System.String | item |
System.Threading.CancellationToken | token |
ElementAtAsync(Int32, CancellationToken)
View Source
Declaration
ValueTask<string> ElementAtAsync(int index, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Int32 | index |
System.Threading.CancellationToken | token |
SetValueAsync(Int32, String, CancellationToken)
View Source
Declaration
ValueTask SetValueAsync(int index, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Int32 | index |
System.String | value |
System.Threading.CancellationToken | token |