Skip to main content

RedisTypedClient<T>

Allows you to get Redis value operations to operate against POCO types.

Assembly: ServiceStack.Redis.dll
View Source
Declaration
public class RedisTypedClient<T> : IRedisTypedClientAsync<T>, IEntityStoreAsync<T>, IRedisTypedClient<T>, IEntityStore<T>

Properties

IRedisTypedClientAsync<T>.TypeIdsSet

View Source
Declaration
IRedisSetAsync IRedisTypedClientAsync<T>.TypeIdsSet { get; }

IRedisTypedClientAsync<T>.RedisClient

View Source
Declaration
IRedisClientAsync IRedisTypedClientAsync<T>.RedisClient { get; }

IRedisTypedClientAsync<T>.Db

View Source
Declaration
long IRedisTypedClientAsync<T>.Db { get; }

IRedisTypedClientAsync<T>.Lists

View Source
Declaration
IHasNamed<IRedisListAsync<T>> IRedisTypedClientAsync<T>.Lists { get; }

IRedisTypedClientAsync<T>.Sets

View Source
Declaration
IHasNamed<IRedisSetAsync<T>> IRedisTypedClientAsync<T>.Sets { get; }

IRedisTypedClientAsync<T>.SortedSets

View Source
Declaration
IHasNamed<IRedisSortedSetAsync<T>> IRedisTypedClientAsync<T>.SortedSets { get; }

RedisClient

View Source
Declaration
public IRedisClient RedisClient { get; }

NativeClient

View Source
Declaration
public IRedisNativeClient NativeClient { get; }

TypeIdsSetKey

View Source
Declaration
public string TypeIdsSetKey { get; set; }

TypeLockKey

View Source
Declaration
public string TypeLockKey { get; set; }

Transaction

View Source
Declaration
public IRedisTransactionBase Transaction { get; set; }

Pipeline

View Source
Declaration
public IRedisPipelineShared Pipeline { get; set; }

TypeIdsSet

View Source
Declaration
public IRedisSet TypeIdsSet { get; }

Item[String]

View Source
Declaration
public T this[string key] { get; set; }

SequenceKey

View Source
Declaration
public string SequenceKey { get; set; }

Lists

View Source
Declaration
public IHasNamed<IRedisList<T>> Lists { get; set; }

Sets

View Source
Declaration
public IHasNamed<IRedisSet<T>> Sets { get; set; }

Db

View Source
Declaration
public long Db { get; set; }

SortedSets

View Source
Declaration
public IHasNamed<IRedisSortedSet<T>> SortedSets { get; set; }

Methods

AsAsync()

View Source
Declaration
public IRedisTypedClientAsync<T> AsAsync()
Returns

ServiceStack.Redis.Generic.IRedisTypedClientAsync<T>

IEntityStoreAsync<T>.GetByIdAsync(Object, CancellationToken)

View Source
Declaration
Task<T> IEntityStoreAsync<T>.GetByIdAsync(object id, CancellationToken token)
Returns

System.Threading.Tasks.Task<<T>>

Parameters
TypeName
System.Objectid
System.Threading.CancellationTokentoken

IEntityStoreAsync<T>.GetByIdsAsync(IEnumerable, CancellationToken)

View Source
Declaration
async Task<IList<T>> IEntityStoreAsync<T>.GetByIdsAsync(IEnumerable ids, CancellationToken token)
Returns

System.Threading.Tasks.Task<System.Collections.Generic.IList<<T>>>

Parameters
TypeName
System.Collections.IEnumerableids
System.Threading.CancellationTokentoken

IEntityStoreAsync<T>.GetAllAsync(CancellationToken)

View Source
Declaration
async Task<IList<T>> IEntityStoreAsync<T>.GetAllAsync(CancellationToken token)
Returns

System.Threading.Tasks.Task<System.Collections.Generic.IList<<T>>>

Parameters
TypeName
System.Threading.CancellationTokentoken

IEntityStoreAsync<T>.StoreAsync(T, CancellationToken)

View Source
Declaration
async Task<T> IEntityStoreAsync<T>.StoreAsync(T entity, CancellationToken token)
Returns

System.Threading.Tasks.Task<<T>>

Parameters
TypeName
<T>entity
System.Threading.CancellationTokentoken

IEntityStoreAsync<T>.StoreAllAsync(IEnumerable<T>, CancellationToken)

View Source
Declaration
async Task IEntityStoreAsync<T>.StoreAllAsync(IEnumerable<T> entities, CancellationToken token)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Collections.Generic.IEnumerable<<T>>entities
System.Threading.CancellationTokentoken

IEntityStoreAsync<T>.DeleteAsync(T, CancellationToken)

View Source
Declaration
async Task IEntityStoreAsync<T>.DeleteAsync(T entity, CancellationToken token)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
<T>entity
System.Threading.CancellationTokentoken

IEntityStoreAsync<T>.DeleteByIdAsync(Object, CancellationToken)

View Source
Declaration
async Task IEntityStoreAsync<T>.DeleteByIdAsync(object id, CancellationToken token)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Objectid
System.Threading.CancellationTokentoken

IEntityStoreAsync<T>.DeleteByIdsAsync(IEnumerable, CancellationToken)

View Source
Declaration
async Task IEntityStoreAsync<T>.DeleteByIdsAsync(IEnumerable ids, CancellationToken token)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Collections.IEnumerableids
System.Threading.CancellationTokentoken

IEntityStoreAsync<T>.DeleteAllAsync(CancellationToken)

View Source
Declaration
async Task IEntityStoreAsync<T>.DeleteAllAsync(CancellationToken token)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Threading.CancellationTokentoken

IRedisTypedClientAsync<T>.CreatePipeline()

View Source
Declaration
IRedisTypedPipelineAsync<T> IRedisTypedClientAsync<T>.CreatePipeline()
Returns

ServiceStack.Redis.Generic.IRedisTypedPipelineAsync<T>

IRedisTypedClientAsync<T>.GetHash<TKey>(String)

View Source
Declaration
IRedisHashAsync<TKey, T> IRedisTypedClientAsync<T>.GetHash<TKey>(string hashId)
Returns

ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>>

Parameters
TypeName
System.StringhashId
Type Parameters
  • TKey

CreateTransaction()

View Source
Declaration
public IRedisTypedTransaction<T> CreateTransaction()
Returns

ServiceStack.Redis.Generic.IRedisTypedTransaction<T>

CreatePipeline()

View Source
Declaration
public IRedisTypedPipeline<T> CreatePipeline()
Returns

ServiceStack.Redis.Generic.IRedisTypedPipeline<T>

AcquireLock()

View Source
Declaration
public IDisposable AcquireLock()
Returns

System.IDisposable

AcquireLock(TimeSpan)

View Source
Declaration
public IDisposable AcquireLock(TimeSpan timeOut)
Returns

System.IDisposable

Parameters
TypeName
System.TimeSpantimeOut

Watch(String[])

View Source
Declaration
public void Watch(params string[] keys)
Parameters
TypeName
System.String[]keys

UnWatch()

View Source
Declaration
public void UnWatch()

Multi()

View Source
Declaration
public void Multi()

Discard()

View Source
Declaration
public void Discard()

Exec()

View Source
Declaration
public void Exec()

GetAllKeys()

View Source
Declaration
public List<string> GetAllKeys()
Returns

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

UrnKey(T)

View Source
Declaration
public string UrnKey(T entity)
Returns

System.String

Parameters
TypeName
<T>entity

SerializeValue(T)

View Source
Declaration
public byte[] SerializeValue(T value)
Returns

System.Byte[]

Parameters
TypeName
<T>value

DeserializeValue(Byte[])

View Source
Declaration
public T DeserializeValue(byte[] value)
Returns

<T>

Parameters
TypeName
System.Byte[]value

SetValue(String, T)

View Source
Declaration
public void SetValue(string key, T entity)
Parameters
TypeName
System.Stringkey
<T>entity

SetValue(String, T, TimeSpan)

View Source
Declaration
public void SetValue(string key, T entity, TimeSpan expireIn)
Parameters
TypeName
System.Stringkey
<T>entity
System.TimeSpanexpireIn

SetValueIfNotExists(String, T)

View Source
Declaration
public bool SetValueIfNotExists(string key, T entity)
Returns

System.Boolean

Parameters
TypeName
System.Stringkey
<T>entity

SetValueIfExists(String, T)

View Source
Declaration
public bool SetValueIfExists(string key, T entity)
Returns

System.Boolean

Parameters
TypeName
System.Stringkey
<T>entity

GetValue(String)

View Source
Declaration
public T GetValue(string key)
Returns

<T>

Parameters
TypeName
System.Stringkey

GetAndSetValue(String, T)

View Source
Declaration
public T GetAndSetValue(string key, T value)
Returns

<T>

Parameters
TypeName
System.Stringkey
<T>value

ContainsKey(String)

View Source
Declaration
public bool ContainsKey(string key)
Returns

System.Boolean

Parameters
TypeName
System.Stringkey

RemoveEntry(String)

View Source
Declaration
public bool RemoveEntry(string key)
Returns

System.Boolean

Parameters
TypeName
System.Stringkey

RemoveEntry(String[])

View Source
Declaration
public bool RemoveEntry(params string[] keys)
Returns

System.Boolean

Parameters
TypeName
System.String[]keys

RemoveEntry(IHasStringId[])

View Source
Declaration
public bool RemoveEntry(params IHasStringId[] entities)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Model.IHasStringId[]entities

IncrementValue(String)

View Source
Declaration
public long IncrementValue(string key)
Returns

System.Int64

Parameters
TypeName
System.Stringkey

IncrementValueBy(String, Int32)

View Source
Declaration
public long IncrementValueBy(string key, int count)
Returns

System.Int64

Parameters
TypeName
System.Stringkey
System.Int32count

DecrementValue(String)

View Source
Declaration
public long DecrementValue(string key)
Returns

System.Int64

Parameters
TypeName
System.Stringkey

DecrementValueBy(String, Int32)

View Source
Declaration
public long DecrementValueBy(string key, int count)
Returns

System.Int64

Parameters
TypeName
System.Stringkey
System.Int32count

SetSequence(Int32)

View Source
Declaration
public void SetSequence(int value)
Parameters
TypeName
System.Int32value

GetNextSequence()

View Source
Declaration
public long GetNextSequence()
Returns

System.Int64

GetNextSequence(Int32)

View Source
Declaration
public long GetNextSequence(int incrBy)
Returns

System.Int64

Parameters
TypeName
System.Int32incrBy

GetEntryType(String)

View Source
Declaration
public RedisKeyType GetEntryType(string key)
Returns

ServiceStack.Redis.RedisKeyType

Parameters
TypeName
System.Stringkey

GetRandomKey()

View Source
Declaration
public string GetRandomKey()
Returns

System.String

ExpireEntryIn(String, TimeSpan)

View Source
Declaration
public bool ExpireEntryIn(string key, TimeSpan expireIn)
Returns

System.Boolean

Parameters
TypeName
System.Stringkey
System.TimeSpanexpireIn

ExpireEntryAt(String, DateTime)

View Source
Declaration
public bool ExpireEntryAt(string key, DateTime expireAt)
Returns

System.Boolean

Parameters
TypeName
System.Stringkey
System.DateTimeexpireAt

ExpireIn(Object, TimeSpan)

View Source
Declaration
public bool ExpireIn(object id, TimeSpan expireIn)
Returns

System.Boolean

Parameters
TypeName
System.Objectid
System.TimeSpanexpireIn

ExpireAt(Object, DateTime)

View Source
Declaration
public bool ExpireAt(object id, DateTime expireAt)
Returns

System.Boolean

Parameters
TypeName
System.Objectid
System.DateTimeexpireAt

GetTimeToLive(String)

View Source
Declaration
public TimeSpan GetTimeToLive(string key)
Returns

System.TimeSpan

Parameters
TypeName
System.Stringkey

Save()

View Source
Declaration
public void Save()

SaveAsync()

View Source
Declaration
public void SaveAsync()

FlushDb()

View Source
Declaration
public void FlushDb()

FlushAll()

View Source
Declaration
public void FlushAll()

SearchKeys(String)

View Source
Declaration
public T[] SearchKeys(string pattern)
Returns

<T>[]

Parameters
TypeName
System.Stringpattern

GetValues(List<String>)

View Source
Declaration
public List<T> GetValues(List<string> keys)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
System.Collections.Generic.List<System.String>keys

StoreAsHash(T)

View Source
Declaration
public void StoreAsHash(T entity)
Parameters
TypeName
<T>entity

GetFromHash(Object)

View Source
Declaration
public T GetFromHash(object id)
Returns

<T>

Parameters
TypeName
System.Objectid

GetById(Object)

View Source
Declaration
public T GetById(object id)
Returns

<T>

Parameters
TypeName
System.Objectid

GetByIds(IEnumerable)

View Source
Declaration
public IList<T> GetByIds(IEnumerable ids)
Returns

System.Collections.Generic.IList<<T>>

Parameters
TypeName
System.Collections.IEnumerableids

GetAll()

View Source
Declaration
public IList<T> GetAll()
Returns

System.Collections.Generic.IList<<T>>

Store(T)

View Source
Declaration
public T Store(T entity)
Returns

<T>

Parameters
TypeName
<T>entity

Store(T, TimeSpan)

View Source
Declaration
public T Store(T entity, TimeSpan expireIn)
Returns

<T>

Parameters
TypeName
<T>entity
System.TimeSpanexpireIn

StoreAll(IEnumerable<T>)

View Source
Declaration
public void StoreAll(IEnumerable<T> entities)
Parameters
TypeName
System.Collections.Generic.IEnumerable<<T>>entities

Delete(T)

View Source
Declaration
public void Delete(T entity)
Parameters
TypeName
<T>entity

DeleteById(Object)

View Source
Declaration
public void DeleteById(object id)
Parameters
TypeName
System.Objectid

DeleteByIds(IEnumerable)

View Source
Declaration
public void DeleteByIds(IEnumerable ids)
Parameters
TypeName
System.Collections.IEnumerableids

DeleteAll()

View Source
Declaration
public void DeleteAll()

FlushSendBuffer()

View Source
Declaration
public void FlushSendBuffer()

ResetSendBuffer()

View Source
Declaration
public void ResetSendBuffer()

StoreRelatedEntities<TChild>(Object, List<TChild>)

View Source
Declaration
public void StoreRelatedEntities<TChild>(object parentId, List<TChild> children)
Parameters
TypeName
System.ObjectparentId
System.Collections.Generic.List<<TChild>>children
Type Parameters
  • TChild

StoreRelatedEntities<TChild>(Object, TChild[])

View Source
Declaration
public void StoreRelatedEntities<TChild>(object parentId, params TChild[] children)
Parameters
TypeName
System.ObjectparentId
<TChild>[]children
Type Parameters
  • TChild

DeleteRelatedEntity<TChild>(Object, Object)

View Source
Declaration
public void DeleteRelatedEntity<TChild>(object parentId, object childId)
Parameters
TypeName
System.ObjectparentId
System.ObjectchildId
Type Parameters
  • TChild

DeleteRelatedEntities<TChild>(Object)

View Source
Declaration
public void DeleteRelatedEntities<TChild>(object parentId)
Parameters
TypeName
System.ObjectparentId
Type Parameters
  • TChild

GetRelatedEntities<TChild>(Object)

View Source
Declaration
public List<TChild> GetRelatedEntities<TChild>(object parentId)
Returns

System.Collections.Generic.List<<TChild>>

Parameters
TypeName
System.ObjectparentId
Type Parameters
  • TChild

GetRelatedEntitiesCount<TChild>(Object)

View Source
Declaration
public long GetRelatedEntitiesCount<TChild>(object parentId)
Returns

System.Int64

Parameters
TypeName
System.ObjectparentId
Type Parameters
  • TChild

AddToRecentsList(T)

View Source
Declaration
public void AddToRecentsList(T value)
Parameters
TypeName
<T>value

GetLatestFromRecentsList(Int32, Int32)

View Source
Declaration
public List<T> GetLatestFromRecentsList(int skip, int take)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
System.Int32skip
System.Int32take

GetEarliestFromRecentsList(Int32, Int32)

View Source
Declaration
public List<T> GetEarliestFromRecentsList(int skip, int take)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
System.Int32skip
System.Int32take

GetHash<TKey>(String)

View Source
Declaration
public IRedisHash<TKey, T> GetHash<TKey>(string hashId)
Returns

ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>

Parameters
TypeName
System.StringhashId
Type Parameters
  • TKey

HashContainsEntry<TKey>(IRedisHash<TKey, T>, TKey)

View Source
Declaration
public bool HashContainsEntry<TKey>(IRedisHash<TKey, T> hash, TKey key)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>hash
<TKey>key
Type Parameters
  • TKey

SetEntryInHash<TKey>(IRedisHash<TKey, T>, TKey, T)

View Source
Declaration
public bool SetEntryInHash<TKey>(IRedisHash<TKey, T> hash, TKey key, T value)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>hash
<TKey>key
<T>value
Type Parameters
  • TKey

SetEntryInHashIfNotExists<TKey>(IRedisHash<TKey, T>, TKey, T)

View Source
Declaration
public bool SetEntryInHashIfNotExists<TKey>(IRedisHash<TKey, T> hash, TKey key, T value)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>hash
<TKey>key
<T>value
Type Parameters
  • TKey

SetRangeInHash<TKey>(IRedisHash<TKey, T>, IEnumerable<KeyValuePair<TKey, T>>)

View Source
Declaration
public void SetRangeInHash<TKey>(IRedisHash<TKey, T> hash, IEnumerable<KeyValuePair<TKey, T>> keyValuePairs)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>hash
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<<TKey>,<T>>>keyValuePairs
Type Parameters
  • TKey

GetValueFromHash<TKey>(IRedisHash<TKey, T>, TKey)

View Source
Declaration
public T GetValueFromHash<TKey>(IRedisHash<TKey, T> hash, TKey key)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>hash
<TKey>key
Type Parameters
  • TKey

RemoveEntryFromHash<TKey>(IRedisHash<TKey, T>, TKey)

View Source
Declaration
public bool RemoveEntryFromHash<TKey>(IRedisHash<TKey, T> hash, TKey key)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>hash
<TKey>key
Type Parameters
  • TKey

GetHashCount<TKey>(IRedisHash<TKey, T>)

View Source
Declaration
public long GetHashCount<TKey>(IRedisHash<TKey, T> hash)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>hash
Type Parameters
  • TKey

GetHashKeys<TKey>(IRedisHash<TKey, T>)

View Source
Declaration
public List<TKey> GetHashKeys<TKey>(IRedisHash<TKey, T> hash)
Returns

System.Collections.Generic.List<<TKey>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>hash
Type Parameters
  • TKey

GetHashValues<TKey>(IRedisHash<TKey, T>)

View Source
Declaration
public List<T> GetHashValues<TKey>(IRedisHash<TKey, T> hash)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>hash
Type Parameters
  • TKey

GetAllEntriesFromHash<TKey>(IRedisHash<TKey, T>)

View Source
Declaration
public Dictionary<TKey, T> GetAllEntriesFromHash<TKey>(IRedisHash<TKey, T> hash)
Returns

System.Collections.Generic.Dictionary<<TKey>,<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisHash<<TKey>,<T>>hash
Type Parameters
  • TKey

ConvertEachTo<TKey, TValue>(IDictionary<String, String>)

View Source
Declaration
public static Dictionary<TKey, TValue> ConvertEachTo<TKey, TValue>(IDictionary<string, string> map)
Returns

System.Collections.Generic.Dictionary<<TKey>,<TValue>>

Parameters
TypeName
System.Collections.Generic.IDictionary<System.String,System.String>map
Type Parameters
  • TKey
  • TValue

GetAllItemsFromList(IRedisList<T>)

View Source
Declaration
public List<T> GetAllItemsFromList(IRedisList<T> fromList)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList

GetRangeFromList(IRedisList<T>, Int32, Int32)

View Source
Declaration
public List<T> GetRangeFromList(IRedisList<T> fromList, int startingFrom, int endingAt)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
System.Int32startingFrom
System.Int32endingAt

SortList(IRedisList<T>, Int32, Int32)

View Source
Declaration
public List<T> SortList(IRedisList<T> fromList, int startingFrom, int endingAt)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
System.Int32startingFrom
System.Int32endingAt

AddItemToList(IRedisList<T>, T)

View Source
Declaration
public void AddItemToList(IRedisList<T> fromList, T value)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
<T>value

AddRangeToList(IRedisList<T>, IEnumerable<T>)

View Source
Declaration
public void AddRangeToList(IRedisList<T> fromList, IEnumerable<T> values)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
System.Collections.Generic.IEnumerable<<T>>values

PrependItemToList(IRedisList<T>, T)

View Source
Declaration
public void PrependItemToList(IRedisList<T> fromList, T value)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
<T>value

RemoveStartFromList(IRedisList<T>)

View Source
Declaration
public T RemoveStartFromList(IRedisList<T> fromList)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList

BlockingRemoveStartFromList(IRedisList<T>, Nullable<TimeSpan>)

View Source
Declaration
public T BlockingRemoveStartFromList(IRedisList<T> fromList, TimeSpan? timeOut)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
System.Nullable<System.TimeSpan>timeOut

RemoveEndFromList(IRedisList<T>)

View Source
Declaration
public T RemoveEndFromList(IRedisList<T> fromList)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList

RemoveAllFromList(IRedisList<T>)

View Source
Declaration
public void RemoveAllFromList(IRedisList<T> fromList)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList

TrimList(IRedisList<T>, Int32, Int32)

View Source
Declaration
public void TrimList(IRedisList<T> fromList, int keepStartingFrom, int keepEndingAt)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
System.Int32keepStartingFrom
System.Int32keepEndingAt

RemoveItemFromList(IRedisList<T>, T)

View Source
Declaration
public long RemoveItemFromList(IRedisList<T> fromList, T value)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
<T>value

RemoveItemFromList(IRedisList<T>, T, Int32)

View Source
Declaration
public long RemoveItemFromList(IRedisList<T> fromList, T value, int noOfMatches)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
<T>value
System.Int32noOfMatches

GetListCount(IRedisList<T>)

View Source
Declaration
public long GetListCount(IRedisList<T> fromList)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList

GetItemFromList(IRedisList<T>, Int32)

View Source
Declaration
public T GetItemFromList(IRedisList<T> fromList, int listIndex)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
System.Int32listIndex

SetItemInList(IRedisList<T>, Int32, T)

View Source
Declaration
public void SetItemInList(IRedisList<T> toList, int listIndex, T value)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>toList
System.Int32listIndex
<T>value

InsertBeforeItemInList(IRedisList<T>, T, T)

View Source
Declaration
public void InsertBeforeItemInList(IRedisList<T> toList, T pivot, T value)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>toList
<T>pivot
<T>value

InsertAfterItemInList(IRedisList<T>, T, T)

View Source
Declaration
public void InsertAfterItemInList(IRedisList<T> toList, T pivot, T value)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>toList
<T>pivot
<T>value

EnqueueItemOnList(IRedisList<T>, T)

View Source
Declaration
public void EnqueueItemOnList(IRedisList<T> fromList, T item)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
<T>item

DequeueItemFromList(IRedisList<T>)

View Source
Declaration
public T DequeueItemFromList(IRedisList<T> fromList)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList

BlockingDequeueItemFromList(IRedisList<T>, Nullable<TimeSpan>)

View Source
Declaration
public T BlockingDequeueItemFromList(IRedisList<T> fromList, TimeSpan? timeOut)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
System.Nullable<System.TimeSpan>timeOut

PushItemToList(IRedisList<T>, T)

View Source
Declaration
public void PushItemToList(IRedisList<T> fromList, T item)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
<T>item

PopItemFromList(IRedisList<T>)

View Source
Declaration
public T PopItemFromList(IRedisList<T> fromList)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList

BlockingPopItemFromList(IRedisList<T>, Nullable<TimeSpan>)

View Source
Declaration
public T BlockingPopItemFromList(IRedisList<T> fromList, TimeSpan? timeOut)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
System.Nullable<System.TimeSpan>timeOut

PopAndPushItemBetweenLists(IRedisList<T>, IRedisList<T>)

View Source
Declaration
public T PopAndPushItemBetweenLists(IRedisList<T> fromList, IRedisList<T> toList)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
ServiceStack.Redis.Generic.IRedisList<T>toList

BlockingPopAndPushItemBetweenLists(IRedisList<T>, IRedisList<T>, Nullable<TimeSpan>)

View Source
Declaration
public T BlockingPopAndPushItemBetweenLists(IRedisList<T> fromList, IRedisList<T> toList, TimeSpan? timeOut)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisList<T>fromList
ServiceStack.Redis.Generic.IRedisList<T>toList
System.Nullable<System.TimeSpan>timeOut

GetSortedEntryValues(IRedisSet<T>, Int32, Int32)

View Source
Declaration
public List<T> GetSortedEntryValues(IRedisSet<T> fromSet, int startingFrom, int endingAt)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>fromSet
System.Int32startingFrom
System.Int32endingAt

GetAllItemsFromSet(IRedisSet<T>)

View Source
Declaration
public HashSet<T> GetAllItemsFromSet(IRedisSet<T> fromSet)
Returns

System.Collections.Generic.HashSet<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>fromSet

AddItemToSet(IRedisSet<T>, T)

View Source
Declaration
public void AddItemToSet(IRedisSet<T> toSet, T item)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>toSet
<T>item

RemoveItemFromSet(IRedisSet<T>, T)

View Source
Declaration
public void RemoveItemFromSet(IRedisSet<T> fromSet, T item)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>fromSet
<T>item

PopItemFromSet(IRedisSet<T>)

View Source
Declaration
public T PopItemFromSet(IRedisSet<T> fromSet)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>fromSet

MoveBetweenSets(IRedisSet<T>, IRedisSet<T>, T)

View Source
Declaration
public void MoveBetweenSets(IRedisSet<T> fromSet, IRedisSet<T> toSet, T item)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>fromSet
ServiceStack.Redis.Generic.IRedisSet<T>toSet
<T>item

GetSetCount(IRedisSet<T>)

View Source
Declaration
public long GetSetCount(IRedisSet<T> set)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>set

SetContainsItem(IRedisSet<T>, T)

View Source
Declaration
public bool SetContainsItem(IRedisSet<T> set, T item)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>set
<T>item

GetIntersectFromSets(IRedisSet<T>[])

View Source
Declaration
public HashSet<T> GetIntersectFromSets(params IRedisSet<T>[] sets)
Returns

System.Collections.Generic.HashSet<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<<T>>[]sets

StoreIntersectFromSets(IRedisSet<T>, IRedisSet<T>[])

View Source
Declaration
public void StoreIntersectFromSets(IRedisSet<T> intoSet, params IRedisSet<T>[] sets)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>intoSet
ServiceStack.Redis.Generic.IRedisSet<<T>>[]sets

GetUnionFromSets(IRedisSet<T>[])

View Source
Declaration
public HashSet<T> GetUnionFromSets(params IRedisSet<T>[] sets)
Returns

System.Collections.Generic.HashSet<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<<T>>[]sets

StoreUnionFromSets(IRedisSet<T>, IRedisSet<T>[])

View Source
Declaration
public void StoreUnionFromSets(IRedisSet<T> intoSet, params IRedisSet<T>[] sets)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>intoSet
ServiceStack.Redis.Generic.IRedisSet<<T>>[]sets

GetDifferencesFromSet(IRedisSet<T>, IRedisSet<T>[])

View Source
Declaration
public HashSet<T> GetDifferencesFromSet(IRedisSet<T> fromSet, params IRedisSet<T>[] withSets)
Returns

System.Collections.Generic.HashSet<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>fromSet
ServiceStack.Redis.Generic.IRedisSet<<T>>[]withSets

StoreDifferencesFromSet(IRedisSet<T>, IRedisSet<T>, IRedisSet<T>[])

View Source
Declaration
public void StoreDifferencesFromSet(IRedisSet<T> intoSet, IRedisSet<T> fromSet, params IRedisSet<T>[] withSets)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>intoSet
ServiceStack.Redis.Generic.IRedisSet<T>fromSet
ServiceStack.Redis.Generic.IRedisSet<<T>>[]withSets

GetRandomItemFromSet(IRedisSet<T>)

View Source
Declaration
public T GetRandomItemFromSet(IRedisSet<T> fromSet)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>fromSet

DeserializeFromString(String)

View Source
Declaration
public static T DeserializeFromString(string serializedObj)
Returns

<T>

Parameters
TypeName
System.StringserializedObj

AddItemToSortedSet(IRedisSortedSet<T>, T)

View Source
Declaration
public void AddItemToSortedSet(IRedisSortedSet<T> toSet, T value)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>toSet
<T>value

AddItemToSortedSet(IRedisSortedSet<T>, T, Double)

View Source
Declaration
public void AddItemToSortedSet(IRedisSortedSet<T> toSet, T value, double score)
Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>toSet
<T>value
System.Doublescore

RemoveItemFromSortedSet(IRedisSortedSet<T>, T)

View Source
Declaration
public bool RemoveItemFromSortedSet(IRedisSortedSet<T> fromSet, T value)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>fromSet
<T>value

PopItemWithLowestScoreFromSortedSet(IRedisSortedSet<T>)

View Source
Declaration
public T PopItemWithLowestScoreFromSortedSet(IRedisSortedSet<T> fromSet)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>fromSet

PopItemWithHighestScoreFromSortedSet(IRedisSortedSet<T>)

View Source
Declaration
public T PopItemWithHighestScoreFromSortedSet(IRedisSortedSet<T> fromSet)
Returns

<T>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>fromSet

SortedSetContainsItem(IRedisSortedSet<T>, T)

View Source
Declaration
public bool SortedSetContainsItem(IRedisSortedSet<T> set, T value)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
<T>value

IncrementItemInSortedSet(IRedisSortedSet<T>, T, Double)

View Source
Declaration
public double IncrementItemInSortedSet(IRedisSortedSet<T> set, T value, double incrementBy)
Returns

System.Double

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
<T>value
System.DoubleincrementBy

GetItemIndexInSortedSet(IRedisSortedSet<T>, T)

View Source
Declaration
public long GetItemIndexInSortedSet(IRedisSortedSet<T> set, T value)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
<T>value

GetItemIndexInSortedSetDesc(IRedisSortedSet<T>, T)

View Source
Declaration
public long GetItemIndexInSortedSetDesc(IRedisSortedSet<T> set, T value)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
<T>value

GetAllItemsFromSortedSet(IRedisSortedSet<T>)

View Source
Declaration
public List<T> GetAllItemsFromSortedSet(IRedisSortedSet<T> set)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set

GetAllItemsFromSortedSetDesc(IRedisSortedSet<T>)

View Source
Declaration
public List<T> GetAllItemsFromSortedSetDesc(IRedisSortedSet<T> set)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set

GetRangeFromSortedSet(IRedisSortedSet<T>, Int32, Int32)

View Source
Declaration
public List<T> GetRangeFromSortedSet(IRedisSortedSet<T> set, int fromRank, int toRank)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.Int32fromRank
System.Int32toRank

GetRangeFromSortedSetDesc(IRedisSortedSet<T>, Int32, Int32)

View Source
Declaration
public List<T> GetRangeFromSortedSetDesc(IRedisSortedSet<T> set, int fromRank, int toRank)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.Int32fromRank
System.Int32toRank

GetAllWithScoresFromSortedSet(IRedisSortedSet<T>)

View Source
Declaration
public IDictionary<T, double> GetAllWithScoresFromSortedSet(IRedisSortedSet<T> set)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set

GetRangeWithScoresFromSortedSet(IRedisSortedSet<T>, Int32, Int32)

View Source
Declaration
public IDictionary<T, double> GetRangeWithScoresFromSortedSet(IRedisSortedSet<T> set, int fromRank, int toRank)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.Int32fromRank
System.Int32toRank

GetRangeWithScoresFromSortedSetDesc(IRedisSortedSet<T>, Int32, Int32)

View Source
Declaration
public IDictionary<T, double> GetRangeWithScoresFromSortedSetDesc(IRedisSortedSet<T> set, int fromRank, int toRank)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.Int32fromRank
System.Int32toRank

GetRangeFromSortedSetByLowestScore(IRedisSortedSet<T>, String, String)

View Source
Declaration
public List<T> GetRangeFromSortedSetByLowestScore(IRedisSortedSet<T> set, string fromStringScore, string toStringScore)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.StringfromStringScore
System.StringtoStringScore

GetRangeFromSortedSetByLowestScore(IRedisSortedSet<T>, String, String, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
public List<T> GetRangeFromSortedSetByLowestScore(IRedisSortedSet<T> set, string fromStringScore, string toStringScore, int? skip, int? take)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.StringfromStringScore
System.StringtoStringScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

GetRangeFromSortedSetByLowestScore(IRedisSortedSet<T>, Double, Double)

View Source
Declaration
public List<T> GetRangeFromSortedSetByLowestScore(IRedisSortedSet<T> set, double fromScore, double toScore)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.DoublefromScore
System.DoubletoScore

GetRangeFromSortedSetByLowestScore(IRedisSortedSet<T>, Double, Double, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
public List<T> GetRangeFromSortedSetByLowestScore(IRedisSortedSet<T> set, double fromScore, double toScore, int? skip, int? take)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

GetRangeWithScoresFromSortedSetByLowestScore(IRedisSortedSet<T>, String, String)

View Source
Declaration
public IDictionary<T, double> GetRangeWithScoresFromSortedSetByLowestScore(IRedisSortedSet<T> set, string fromStringScore, string toStringScore)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.StringfromStringScore
System.StringtoStringScore

GetRangeWithScoresFromSortedSetByLowestScore(IRedisSortedSet<T>, String, String, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
public IDictionary<T, double> GetRangeWithScoresFromSortedSetByLowestScore(IRedisSortedSet<T> set, string fromStringScore, string toStringScore, int? skip, int? take)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.StringfromStringScore
System.StringtoStringScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

GetRangeWithScoresFromSortedSetByLowestScore(IRedisSortedSet<T>, Double, Double)

View Source
Declaration
public IDictionary<T, double> GetRangeWithScoresFromSortedSetByLowestScore(IRedisSortedSet<T> set, double fromScore, double toScore)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.DoublefromScore
System.DoubletoScore

GetRangeWithScoresFromSortedSetByLowestScore(IRedisSortedSet<T>, Double, Double, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
public IDictionary<T, double> GetRangeWithScoresFromSortedSetByLowestScore(IRedisSortedSet<T> set, double fromScore, double toScore, int? skip, int? take)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

GetRangeFromSortedSetByHighestScore(IRedisSortedSet<T>, String, String)

View Source
Declaration
public List<T> GetRangeFromSortedSetByHighestScore(IRedisSortedSet<T> set, string fromStringScore, string toStringScore)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.StringfromStringScore
System.StringtoStringScore

GetRangeFromSortedSetByHighestScore(IRedisSortedSet<T>, String, String, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
public List<T> GetRangeFromSortedSetByHighestScore(IRedisSortedSet<T> set, string fromStringScore, string toStringScore, int? skip, int? take)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.StringfromStringScore
System.StringtoStringScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

GetRangeFromSortedSetByHighestScore(IRedisSortedSet<T>, Double, Double)

View Source
Declaration
public List<T> GetRangeFromSortedSetByHighestScore(IRedisSortedSet<T> set, double fromScore, double toScore)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.DoublefromScore
System.DoubletoScore

GetRangeFromSortedSetByHighestScore(IRedisSortedSet<T>, Double, Double, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
public List<T> GetRangeFromSortedSetByHighestScore(IRedisSortedSet<T> set, double fromScore, double toScore, int? skip, int? take)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

GetRangeWithScoresFromSortedSetByHighestScore(IRedisSortedSet<T>, String, String)

View Source
Declaration
public IDictionary<T, double> GetRangeWithScoresFromSortedSetByHighestScore(IRedisSortedSet<T> set, string fromStringScore, string toStringScore)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.StringfromStringScore
System.StringtoStringScore

GetRangeWithScoresFromSortedSetByHighestScore(IRedisSortedSet<T>, String, String, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
public IDictionary<T, double> GetRangeWithScoresFromSortedSetByHighestScore(IRedisSortedSet<T> set, string fromStringScore, string toStringScore, int? skip, int? take)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.StringfromStringScore
System.StringtoStringScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

GetRangeWithScoresFromSortedSetByHighestScore(IRedisSortedSet<T>, Double, Double)

View Source
Declaration
public IDictionary<T, double> GetRangeWithScoresFromSortedSetByHighestScore(IRedisSortedSet<T> set, double fromScore, double toScore)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.DoublefromScore
System.DoubletoScore

GetRangeWithScoresFromSortedSetByHighestScore(IRedisSortedSet<T>, Double, Double, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
public IDictionary<T, double> GetRangeWithScoresFromSortedSetByHighestScore(IRedisSortedSet<T> set, double fromScore, double toScore, int? skip, int? take)
Returns

System.Collections.Generic.IDictionary<<T>,System.Double>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

RemoveRangeFromSortedSet(IRedisSortedSet<T>, Int32, Int32)

View Source
Declaration
public long RemoveRangeFromSortedSet(IRedisSortedSet<T> set, int minRank, int maxRank)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.Int32minRank
System.Int32maxRank

RemoveRangeFromSortedSetByScore(IRedisSortedSet<T>, Double, Double)

View Source
Declaration
public long RemoveRangeFromSortedSetByScore(IRedisSortedSet<T> set, double fromScore, double toScore)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
System.DoublefromScore
System.DoubletoScore

GetSortedSetCount(IRedisSortedSet<T>)

View Source
Declaration
public long GetSortedSetCount(IRedisSortedSet<T> set)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set

GetItemScoreInSortedSet(IRedisSortedSet<T>, T)

View Source
Declaration
public double GetItemScoreInSortedSet(IRedisSortedSet<T> set, T value)
Returns

System.Double

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>set
<T>value

StoreIntersectFromSortedSets(IRedisSortedSet<T>, IRedisSortedSet<T>[])

View Source
Declaration
public long StoreIntersectFromSortedSets(IRedisSortedSet<T> intoSetId, params IRedisSortedSet<T>[] setIds)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>intoSetId
ServiceStack.Redis.Generic.IRedisSortedSet<<T>>[]setIds

StoreIntersectFromSortedSets(IRedisSortedSet<T>, IRedisSortedSet<T>[], String[])

View Source
Declaration
public long StoreIntersectFromSortedSets(IRedisSortedSet<T> intoSetId, IRedisSortedSet<T>[] setIds, string[] args)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>intoSetId
ServiceStack.Redis.Generic.IRedisSortedSet<<T>>[]setIds
System.String[]args

StoreUnionFromSortedSets(IRedisSortedSet<T>, IRedisSortedSet<T>[])

View Source
Declaration
public long StoreUnionFromSortedSets(IRedisSortedSet<T> intoSetId, params IRedisSortedSet<T>[] setIds)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>intoSetId
ServiceStack.Redis.Generic.IRedisSortedSet<<T>>[]setIds

StoreUnionFromSortedSets(IRedisSortedSet<T>, IRedisSortedSet<T>[], String[])

View Source
Declaration
public long StoreUnionFromSortedSets(IRedisSortedSet<T> intoSetId, IRedisSortedSet<T>[] setIds, string[] args)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet<T>intoSetId
ServiceStack.Redis.Generic.IRedisSortedSet<<T>>[]setIds
System.String[]args

Implements