Skip to main content

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​
TypeName
System.Int32startingFrom
System.Int32endingAt

GetRangeFromSortedList(Int32, Int32)​

View Source​
Declaration
List<string> GetRangeFromSortedList(int startingFrom, int endingAt)
Returns​

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

Parameters​
TypeName
System.Int32startingFrom
System.Int32endingAt

RemoveAll()​

View Source​
Declaration
void RemoveAll()

Trim(Int32, Int32)​

View Source​
Declaration
void Trim(int keepStartingFrom, int keepEndingAt)
Parameters​
TypeName
System.Int32keepStartingFrom
System.Int32keepEndingAt

RemoveValue(String)​

View Source​
Declaration
long RemoveValue(string value)
Returns​

System.Int64

Parameters​
TypeName
System.Stringvalue

RemoveValue(String, Int32)​

View Source​
Declaration
long RemoveValue(string value, int noOfMatches)
Returns​

System.Int64

Parameters​
TypeName
System.Stringvalue
System.Int32noOfMatches

Prepend(String)​

View Source​
Declaration
void Prepend(string value)
Parameters​
TypeName
System.Stringvalue

Append(String)​

View Source​
Declaration
void Append(string value)
Parameters​
TypeName
System.Stringvalue

RemoveStart()​

View Source​
Declaration
string RemoveStart()
Returns​

System.String

BlockingRemoveStart(Nullable<TimeSpan>)​

View Source​
Declaration
string BlockingRemoveStart(TimeSpan? timeOut)
Returns​

System.String

Parameters​
TypeName
System.Nullable<System.TimeSpan>timeOut

RemoveEnd()​

View Source​
Declaration
string RemoveEnd()
Returns​

System.String

Enqueue(String)​

View Source​
Declaration
void Enqueue(string value)
Parameters​
TypeName
System.Stringvalue

Dequeue()​

View Source​
Declaration
string Dequeue()
Returns​

System.String

BlockingDequeue(Nullable<TimeSpan>)​

View Source​
Declaration
string BlockingDequeue(TimeSpan? timeOut)
Returns​

System.String

Parameters​
TypeName
System.Nullable<System.TimeSpan>timeOut

Push(String)​

View Source​
Declaration
void Push(string value)
Parameters​
TypeName
System.Stringvalue

Pop()​

View Source​
Declaration
string Pop()
Returns​

System.String

BlockingPop(Nullable<TimeSpan>)​

View Source​
Declaration
string BlockingPop(TimeSpan? timeOut)
Returns​

System.String

Parameters​
TypeName
System.Nullable<System.TimeSpan>timeOut

PopAndPush(IRedisList)​

View Source​
Declaration
string PopAndPush(IRedisList toList)
Returns​

System.String

Parameters​
TypeName
ServiceStack.Redis.IRedisListtoList