BB.Caching.Redis.Analytics.BitwiseAnalytics.BitwiseOrAsync C# (CSharp) Method

BitwiseOrAsync() public static method

Perform a bitwise OR operation between multiple keys (containing string values) and store the result in the destination key.
http://redis.io/commands/bitop
public static BitwiseOrAsync ( IDatabase database, RedisKey destination, RedisKey keys ) : Task
database IDatabase /// The database where the query will be performed. This is passed so that we can reuse the same database to /// perform multiple bitwise operations. Doing this with the same connection will guarantee that performance /// is good. ///
destination RedisKey /// The destination key where the result should be stored. ///
keys RedisKey /// The keys where the data to be OR'd are located. ///
return Task
        public static Task<long> BitwiseOrAsync(IDatabase database, RedisKey destination, RedisKey[] keys)
        {
            Task<long> result = database
                .StringBitOperationAsync(Bitwise.Or, destination, keys);

            return result;
        }

Same methods

BitwiseAnalytics::BitwiseOrAsync ( IDatabase database, RedisKey destination, RedisKey keys, System.TimeSpan expire ) : Task