public long LPush(string key, string[] values) { if (!this.IsValidValues(values)) { return(0L); } RedisNativeClient client = this.pool.GetRedisClient(key); return((client == null) ? 0L : client.LPush(key, UTF8String.ToBytesArray(values))); }
public long PrependRangeToList(string listId, string[] values) { if (!this.IsValidValues(values)) { return(0L); } RedisNativeClient client = this.pool.GetRedisClient(listId); return((client == null) ? 0L : client.LPush(listId, UTF8String.ToBytesArray(values))); }
public long LPush(string key, string value) { RedisNativeClient client = this.pool.GetRedisClient(key); return((client == null) ? 0L : client.LPush(key, UTF8String.ToBytes(value))); }
public long PrependItemToList(string listId, string value) { RedisNativeClient client = this.pool.GetRedisClient(listId); return((client == null) ? 0L : client.LPush(listId, UTF8String.ToBytes(value))); }