IRedisList
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisList : IList<string>, ICollection<string>, IEnumerable<string>, IEnumerable, IHasStringId, IHasId<string>
Methods
GetAll()
View Source
Declaration
List<string> GetAll()
Returns
System.Collections.Generic.List<System.String>
GetRange(Int32, Int32)
View Source
Declaration
List<string> GetRange(int startingFrom, int endingAt)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.Int32 | startingFrom |
System.Int32 | endingAt |
GetRangeFromSortedList(Int32, Int32)
View Source
Declaration
List<string> GetRangeFromSortedList(int startingFrom, int endingAt)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.Int32 | startingFrom |
System.Int32 | endingAt |
RemoveAll()
View Source
Declaration
void RemoveAll()
Trim(Int32, Int32)
View Source
Declaration
void Trim(int keepStartingFrom, int keepEndingAt)
Parameters
Type | Name |
---|---|
System.Int32 | keepStartingFrom |
System.Int32 | keepEndingAt |
RemoveValue(String)
View Source
Declaration
long RemoveValue(string value)
Returns
System.Int64
Parameters
Type | Name |
---|---|
System.String | value |
RemoveValue(String, Int32)
View Source
Declaration
long RemoveValue(string value, int noOfMatches)
Returns
System.Int64
Parameters
Type | Name |
---|---|
System.String | value |
System.Int32 | noOfMatches |
Prepend(String)
View Source
Declaration
void Prepend(string value)
Parameters
Type | Name |
---|---|
System.String | value |
Append(String)
View Source
Declaration
void Append(string value)
Parameters
Type | Name |
---|---|
System.String | value |
RemoveStart()
View Source
Declaration
string RemoveStart()
Returns
System.String
BlockingRemoveStart(Nullable<TimeSpan>)
View Source
Declaration
string BlockingRemoveStart(TimeSpan? timeOut)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Nullable<System.TimeSpan> | timeOut |
RemoveEnd()
View Source
Declaration
string RemoveEnd()
Returns
System.String
Enqueue(String)
View Source
Declaration
void Enqueue(string value)
Parameters
Type | Name |
---|---|
System.String | value |
Dequeue()
View Source
Declaration
string Dequeue()
Returns
System.String
BlockingDequeue(Nullable<TimeSpan>)
View Source
Declaration
string BlockingDequeue(TimeSpan? timeOut)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Nullable<System.TimeSpan> | timeOut |
Push(String)
View Source
Declaration
void Push(string value)
Parameters
Type | Name |
---|---|
System.String | value |
Pop()
View Source
Declaration
string Pop()
Returns
System.String
BlockingPop(Nullable<TimeSpan>)
View Source
Declaration
string BlockingPop(TimeSpan? timeOut)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Nullable<System.TimeSpan> | timeOut |
PopAndPush(IRedisList)
View Source
Declaration
string PopAndPush(IRedisList toList)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisList | toList |