C# Class BB.Caching.Cache.Shared.Hashes

Commands that apply to key/sub-key/value tuples, i.e. where the item is a dictionary of inner values. This can be useful for modeling members of an entity, for example.
http://redis.io/commands#hash
Datei anzeigen Open project: JesseBuesking/BB.Caching

Public Methods

Method Description
Decrement ( RedisKey key, RedisValue field, double value ) : Task

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

Decrement ( RedisKey key, RedisValue field, int value = 1 ) : Task

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

Decrement ( RedisKey key, RedisValue field, double value ) : double

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

Decrement ( RedisKey key, RedisValue field, int value = 1 ) : long

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

DecrementAsync ( RedisKey key, RedisValue field, double value ) : Task

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

DecrementAsync ( RedisKey key, RedisValue field, int value = 1 ) : Task

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

Delete ( RedisKey key, RedisValue field ) : bool

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.

http://redis.io/commands/hdel

Delete ( RedisKey key, RedisValue fields ) : long

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.

http://redis.io/commands/hdel

DeleteAsync ( RedisKey key, RedisValue field ) : Task

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.

http://redis.io/commands/hdel

DeleteAsync ( RedisKey key, RedisValue fields ) : Task

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.

http://redis.io/commands/hdel

Exists ( RedisKey key, RedisValue field ) : Task

Returns if field is an existing field in the hash stored at key.

http://redis.io/commands/hexists

Exists ( RedisKey key, RedisValue field ) : bool

Returns if field is an existing field in the hash stored at key.

http://redis.io/commands/hexists

ExistsAsync ( RedisKey key, RedisValue field ) : Task

Returns if field is an existing field in the hash stored at key.

http://redis.io/commands/hexists

Get ( RedisKey key, RedisValue field ) : RedisValue

Returns the value associated with field in the hash stored at key.

http://redis.io/commands/hget

Get ( RedisKey key, RedisValue fields ) : RedisValue[]

Returns the values associated with the specified fields in the hash stored at key. For every field that does not exist in the hash, a nil value is returned.

http://redis.io/commands/hmget

GetAll ( RedisKey key ) : HashEntry[]

Returns all fields and values of the hash stored at key.

http://redis.io/commands/hgetall

GetAll ( RedisKey key ) : Task

Returns all fields and values of the hash stored at key.

http://redis.io/commands/hgetall

GetAllAsync ( RedisKey key ) : Task

Returns all fields and values of the hash stored at key.

http://redis.io/commands/hgetall

GetAsync ( RedisKey key, RedisValue field ) : Task

Returns the value associated with field in the hash stored at key.

http://redis.io/commands/hget

GetAsync ( RedisKey key, RedisValue fields ) : Task

Returns the values associated with the specified fields in the hash stored at key. For every field that does not exist in the hash, a nil value is returned.

http://redis.io/commands/hmget

GetByteArray ( RedisKey key, RedisValue field ) : Task

Returns the value associated with field in the hash stored at key.

http://redis.io/commands/hget

GetByteArray ( RedisKey key, RedisValue fields ) : Task

Returns the values associated with the specified fields in the hash stored at key. For every field that does not exist in the hash, a nil value is returned.

http://redis.io/commands/hmget

GetDouble ( RedisKey key, RedisValue field ) : Task

Returns the value associated with field in the hash stored at key.

http://redis.io/commands/hget

GetInt64 ( RedisKey key, RedisValue field ) : Task

Returns the value associated with field in the hash stored at key.

http://redis.io/commands/hget

GetKeys ( RedisKey key ) : RedisValue[]

Returns all field names in the hash stored at key.

http://redis.io/commands/hkeys

GetKeys ( RedisKey key ) : Task

Returns all field names in the hash stored at key.

http://redis.io/commands/hkeys

GetKeysAsync ( RedisKey key ) : Task

Returns all field names in the hash stored at key.

http://redis.io/commands/hkeys

GetLength ( RedisKey key ) : Task

Returns the number of fields contained in the hash stored at key.

http://redis.io/commands/hlen

GetLength ( RedisKey key ) : long

Returns the number of fields contained in the hash stored at key.

http://redis.io/commands/hlen

GetLengthAsync ( RedisKey key ) : Task

Returns the number of fields contained in the hash stored at key.

http://redis.io/commands/hlen

GetString ( RedisKey key, RedisValue field ) : Task

Returns the value associated with field in the hash stored at key.

http://redis.io/commands/hget

GetString ( RedisKey key, RedisValue fields ) : Task

Returns the values associated with the specified fields in the hash stored at key. For every field that does not exist in the hash, a nil value is returned.

http://redis.io/commands/hmget

GetValues ( RedisKey key ) : RedisValue[]

Returns all values in the hash stored at key.

http://redis.io/commands/hvals

GetValues ( RedisKey key ) : Task

Returns all values in the hash stored at key.

http://redis.io/commands/hvals

GetValuesAsync ( RedisKey key ) : Task

Returns all values in the hash stored at key.

http://redis.io/commands/hvals

Increment ( RedisKey key, RedisValue field, double value ) : Task

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

Increment ( RedisKey key, RedisValue field, int value = 1 ) : Task

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

Increment ( RedisKey key, RedisValue field, double value ) : double

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

Increment ( RedisKey key, RedisValue field, int value = 1 ) : long

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

IncrementAsync ( RedisKey key, RedisValue field, double value ) : Task

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

IncrementAsync ( RedisKey key, RedisValue field, int value = 1 ) : Task

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.

The range of values supported by HINCRBY is limited to 64 bit signed integers.http://redis.io/commands/hincrby

Remove ( RedisKey key, RedisValue field ) : Task

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.

http://redis.io/commands/hdel

Remove ( RedisKey key, RedisValue fields ) : Task

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.

http://redis.io/commands/hdel

Set ( RedisKey key, HashEntry values ) : System.Threading.Tasks.Task

Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.

http://redis.io/commands/hmset

Set ( RedisKey key, RedisValue field, RedisValue value ) : Task

Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.

http://redis.io/commands/hset

Set ( RedisKey key, RedisValue field, RedisValue value ) : bool

Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.

http://redis.io/commands/hset

Set ( RedisKey key, HashEntry values ) : void

Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.

http://redis.io/commands/hmset

SetAsync ( RedisKey key, HashEntry values ) : System.Threading.Tasks.Task

Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.

http://redis.io/commands/hmset

SetAsync ( RedisKey key, RedisValue field, RedisValue value ) : Task

Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.

http://redis.io/commands/hset

SetIfNotExists ( RedisKey key, RedisValue field, RedisValue value ) : Task

Sets field in the hash stored at key to value, only if field does not yet exist. If key does not exist, a new key holding a hash is created. If field already exists, this operation has no effect.

http://redis.io/commands/hsetnx

SetIfNotExists ( RedisKey key, RedisValue field, RedisValue value ) : bool

Sets field in the hash stored at key to value, only if field does not yet exist. If key does not exist, a new key holding a hash is created. If field already exists, this operation has no effect.

http://redis.io/commands/hsetnx

SetIfNotExistsAsync ( RedisKey key, RedisValue field, RedisValue value ) : Task

Sets field in the hash stored at key to value, only if field does not yet exist. If key does not exist, a new key holding a hash is created. If field already exists, this operation has no effect.

http://redis.io/commands/hsetnx

Method Details

Decrement() public static method

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static Decrement ( RedisKey key, RedisValue field, double value ) : Task
key RedisKey
field RedisValue
value double
return Task

Decrement() public static method

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static Decrement ( RedisKey key, RedisValue field, int value = 1 ) : Task
key RedisKey
field RedisValue
value int
return Task

Decrement() public static method

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static Decrement ( RedisKey key, RedisValue field, double value ) : double
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value double /// The amount to decrement by. ///
return double

Decrement() public static method

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static Decrement ( RedisKey key, RedisValue field, int value = 1 ) : long
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value int /// The amount to decrement by. ///
return long

DecrementAsync() public static method

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static DecrementAsync ( RedisKey key, RedisValue field, double value ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value double /// The amount to decrement by. ///
return Task

DecrementAsync() public static method

Decrements the number stored at field in the hash stored at key by Decrement. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static DecrementAsync ( RedisKey key, RedisValue field, int value = 1 ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value int /// The amount to decrement by. ///
return Task

Delete() public static method

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.
http://redis.io/commands/hdel
public static Delete ( RedisKey key, RedisValue field ) : bool
key RedisKey /// The key. ///
field RedisValue /// The field. ///
return bool

Delete() public static method

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.
http://redis.io/commands/hdel
public static Delete ( RedisKey key, RedisValue fields ) : long
key RedisKey /// The key. ///
fields RedisValue /// The fields. ///
return long

DeleteAsync() public static method

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.
http://redis.io/commands/hdel
public static DeleteAsync ( RedisKey key, RedisValue field ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
return Task

DeleteAsync() public static method

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.
http://redis.io/commands/hdel
public static DeleteAsync ( RedisKey key, RedisValue fields ) : Task
key RedisKey /// The key. ///
fields RedisValue /// The fields. ///
return Task

Exists() public static method

Returns if field is an existing field in the hash stored at key.
http://redis.io/commands/hexists
public static Exists ( RedisKey key, RedisValue field ) : Task
key RedisKey
field RedisValue
return Task

Exists() public static method

Returns if field is an existing field in the hash stored at key.
http://redis.io/commands/hexists
public static Exists ( RedisKey key, RedisValue field ) : bool
key RedisKey /// The key. ///
field RedisValue /// The field. ///
return bool

ExistsAsync() public static method

Returns if field is an existing field in the hash stored at key.
http://redis.io/commands/hexists
public static ExistsAsync ( RedisKey key, RedisValue field ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
return Task

Get() public static method

Returns the value associated with field in the hash stored at key.
http://redis.io/commands/hget
public static Get ( RedisKey key, RedisValue field ) : RedisValue
key RedisKey /// The key. ///
field RedisValue /// The field. ///
return RedisValue

Get() public static method

Returns the values associated with the specified fields in the hash stored at key. For every field that does not exist in the hash, a nil value is returned.
http://redis.io/commands/hmget
public static Get ( RedisKey key, RedisValue fields ) : RedisValue[]
key RedisKey /// The key. ///
fields RedisValue /// The fields. ///
return RedisValue[]

GetAll() public static method

Returns all fields and values of the hash stored at key.
http://redis.io/commands/hgetall
public static GetAll ( RedisKey key ) : HashEntry[]
key RedisKey /// The key. ///
return HashEntry[]

GetAll() public static method

Returns all fields and values of the hash stored at key.
http://redis.io/commands/hgetall
public static GetAll ( RedisKey key ) : Task
key RedisKey
return Task

GetAllAsync() public static method

Returns all fields and values of the hash stored at key.
http://redis.io/commands/hgetall
public static GetAllAsync ( RedisKey key ) : Task
key RedisKey /// The key. ///
return Task

GetAsync() public static method

Returns the value associated with field in the hash stored at key.
http://redis.io/commands/hget
public static GetAsync ( RedisKey key, RedisValue field ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
return Task

GetAsync() public static method

Returns the values associated with the specified fields in the hash stored at key. For every field that does not exist in the hash, a nil value is returned.
http://redis.io/commands/hmget
public static GetAsync ( RedisKey key, RedisValue fields ) : Task
key RedisKey /// The key. ///
fields RedisValue /// The fields. ///
return Task

GetByteArray() public static method

Returns the value associated with field in the hash stored at key.
http://redis.io/commands/hget
public static GetByteArray ( RedisKey key, RedisValue field ) : Task
key RedisKey
field RedisValue
return Task

GetByteArray() public static method

Returns the values associated with the specified fields in the hash stored at key. For every field that does not exist in the hash, a nil value is returned.
http://redis.io/commands/hmget
public static GetByteArray ( RedisKey key, RedisValue fields ) : Task
key RedisKey
fields RedisValue
return Task

GetDouble() public static method

Returns the value associated with field in the hash stored at key.
http://redis.io/commands/hget
public static GetDouble ( RedisKey key, RedisValue field ) : Task
key RedisKey
field RedisValue
return Task

GetInt64() public static method

Returns the value associated with field in the hash stored at key.
http://redis.io/commands/hget
public static GetInt64 ( RedisKey key, RedisValue field ) : Task
key RedisKey
field RedisValue
return Task

GetKeys() public static method

Returns all field names in the hash stored at key.
http://redis.io/commands/hkeys
public static GetKeys ( RedisKey key ) : RedisValue[]
key RedisKey /// The key. ///
return RedisValue[]

GetKeys() public static method

Returns all field names in the hash stored at key.
http://redis.io/commands/hkeys
public static GetKeys ( RedisKey key ) : Task
key RedisKey
return Task

GetKeysAsync() public static method

Returns all field names in the hash stored at key.
http://redis.io/commands/hkeys
public static GetKeysAsync ( RedisKey key ) : Task
key RedisKey /// The key. ///
return Task

GetLength() public static method

Returns the number of fields contained in the hash stored at key.
http://redis.io/commands/hlen
public static GetLength ( RedisKey key ) : Task
key RedisKey
return Task

GetLength() public static method

Returns the number of fields contained in the hash stored at key.
http://redis.io/commands/hlen
public static GetLength ( RedisKey key ) : long
key RedisKey /// The key. ///
return long

GetLengthAsync() public static method

Returns the number of fields contained in the hash stored at key.
http://redis.io/commands/hlen
public static GetLengthAsync ( RedisKey key ) : Task
key RedisKey /// The key. ///
return Task

GetString() public static method

Returns the value associated with field in the hash stored at key.
http://redis.io/commands/hget
public static GetString ( RedisKey key, RedisValue field ) : Task
key RedisKey
field RedisValue
return Task

GetString() public static method

Returns the values associated with the specified fields in the hash stored at key. For every field that does not exist in the hash, a nil value is returned.
http://redis.io/commands/hmget
public static GetString ( RedisKey key, RedisValue fields ) : Task
key RedisKey
fields RedisValue
return Task

GetValues() public static method

Returns all values in the hash stored at key.
http://redis.io/commands/hvals
public static GetValues ( RedisKey key ) : RedisValue[]
key RedisKey /// The key. ///
return RedisValue[]

GetValues() public static method

Returns all values in the hash stored at key.
http://redis.io/commands/hvals
public static GetValues ( RedisKey key ) : Task
key RedisKey
return Task

GetValuesAsync() public static method

Returns all values in the hash stored at key.
http://redis.io/commands/hvals
public static GetValuesAsync ( RedisKey key ) : Task
key RedisKey /// The key. ///
return Task

Increment() public static method

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static Increment ( RedisKey key, RedisValue field, double value ) : Task
key RedisKey
field RedisValue
value double
return Task

Increment() public static method

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static Increment ( RedisKey key, RedisValue field, int value = 1 ) : Task
key RedisKey
field RedisValue
value int
return Task

Increment() public static method

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static Increment ( RedisKey key, RedisValue field, double value ) : double
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value double /// The amount to increment by. ///
return double

Increment() public static method

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static Increment ( RedisKey key, RedisValue field, int value = 1 ) : long
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value int /// The amount to increment by. ///
return long

IncrementAsync() public static method

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static IncrementAsync ( RedisKey key, RedisValue field, double value ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value double /// The amount to increment by. ///
return Task

IncrementAsync() public static method

Increments the number stored at field in the hash stored at key by increment. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string that cannot be interpreted as integer, the value is set to 0 before the operation is performed.
The range of values supported by HINCRBY is limited to 64 bit signed integers. http://redis.io/commands/hincrby
public static IncrementAsync ( RedisKey key, RedisValue field, int value = 1 ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value int /// The amount to increment by. ///
return Task

Remove() public static method

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.
http://redis.io/commands/hdel
public static Remove ( RedisKey key, RedisValue field ) : Task
key RedisKey
field RedisValue
return Task

Remove() public static method

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.
http://redis.io/commands/hdel
public static Remove ( RedisKey key, RedisValue fields ) : Task
key RedisKey
fields RedisValue
return Task

Set() public static method

Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.
http://redis.io/commands/hmset
public static Set ( RedisKey key, HashEntry values ) : System.Threading.Tasks.Task
key RedisKey
values HashEntry
return System.Threading.Tasks.Task

Set() public static method

Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.
http://redis.io/commands/hset
public static Set ( RedisKey key, RedisValue field, RedisValue value ) : Task
key RedisKey
field RedisValue
value RedisValue
return Task

Set() public static method

Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.
http://redis.io/commands/hset
public static Set ( RedisKey key, RedisValue field, RedisValue value ) : bool
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value RedisValue /// The value. ///
return bool

Set() public static method

Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.
http://redis.io/commands/hmset
public static Set ( RedisKey key, HashEntry values ) : void
key RedisKey /// The key. ///
values HashEntry /// The values. ///
return void

SetAsync() public static method

Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.
http://redis.io/commands/hmset
public static SetAsync ( RedisKey key, HashEntry values ) : System.Threading.Tasks.Task
key RedisKey /// The key. ///
values HashEntry /// The values. ///
return System.Threading.Tasks.Task

SetAsync() public static method

Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.
http://redis.io/commands/hset
public static SetAsync ( RedisKey key, RedisValue field, RedisValue value ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value RedisValue /// The value. ///
return Task

SetIfNotExists() public static method

Sets field in the hash stored at key to value, only if field does not yet exist. If key does not exist, a new key holding a hash is created. If field already exists, this operation has no effect.
http://redis.io/commands/hsetnx
public static SetIfNotExists ( RedisKey key, RedisValue field, RedisValue value ) : Task
key RedisKey
field RedisValue
value RedisValue
return Task

SetIfNotExists() public static method

Sets field in the hash stored at key to value, only if field does not yet exist. If key does not exist, a new key holding a hash is created. If field already exists, this operation has no effect.
http://redis.io/commands/hsetnx
public static SetIfNotExists ( RedisKey key, RedisValue field, RedisValue value ) : bool
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value RedisValue /// The value. ///
return bool

SetIfNotExistsAsync() public static method

Sets field in the hash stored at key to value, only if field does not yet exist. If key does not exist, a new key holding a hash is created. If field already exists, this operation has no effect.
http://redis.io/commands/hsetnx
public static SetIfNotExistsAsync ( RedisKey key, RedisValue field, RedisValue value ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
value RedisValue /// The value. ///
return Task