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
Afficher le fichier Open project: JesseBuesking/BB.Caching

Méthodes publiques

Méthode 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 méthode

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
Résultat Task

Decrement() public static méthode

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
Résultat Task

Decrement() public static méthode

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. ///
Résultat double

Decrement() public static méthode

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. ///
Résultat long

DecrementAsync() public static méthode

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. ///
Résultat Task

DecrementAsync() public static méthode

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. ///
Résultat Task

Delete() public static méthode

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. ///
Résultat bool

Delete() public static méthode

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. ///
Résultat long

DeleteAsync() public static méthode

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. ///
Résultat Task

DeleteAsync() public static méthode

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. ///
Résultat Task

Exists() public static méthode

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
Résultat Task

Exists() public static méthode

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. ///
Résultat bool

ExistsAsync() public static méthode

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. ///
Résultat Task

Get() public static méthode

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. ///
Résultat RedisValue

Get() public static méthode

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. ///
Résultat RedisValue[]

GetAll() public static méthode

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. ///
Résultat HashEntry[]

GetAll() public static méthode

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

GetAllAsync() public static méthode

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. ///
Résultat Task

GetAsync() public static méthode

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. ///
Résultat Task

GetAsync() public static méthode

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. ///
Résultat Task

GetByteArray() public static méthode

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
Résultat Task

GetByteArray() public static méthode

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
Résultat Task

GetDouble() public static méthode

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
Résultat Task

GetInt64() public static méthode

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
Résultat Task

GetKeys() public static méthode

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. ///
Résultat RedisValue[]

GetKeys() public static méthode

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

GetKeysAsync() public static méthode

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. ///
Résultat Task

GetLength() public static méthode

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
Résultat Task

GetLength() public static méthode

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. ///
Résultat long

GetLengthAsync() public static méthode

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. ///
Résultat Task

GetString() public static méthode

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
Résultat Task

GetString() public static méthode

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
Résultat Task

GetValues() public static méthode

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

GetValues() public static méthode

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

GetValuesAsync() public static méthode

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

Increment() public static méthode

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
Résultat Task

Increment() public static méthode

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
Résultat Task

Increment() public static méthode

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. ///
Résultat double

Increment() public static méthode

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. ///
Résultat long

IncrementAsync() public static méthode

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. ///
Résultat Task

IncrementAsync() public static méthode

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. ///
Résultat Task

Remove() public static méthode

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
Résultat Task

Remove() public static méthode

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
Résultat Task

Set() public static méthode

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
Résultat System.Threading.Tasks.Task

Set() public static méthode

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
Résultat Task

Set() public static méthode

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. ///
Résultat bool

Set() public static méthode

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. ///
Résultat void

SetAsync() public static méthode

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. ///
Résultat System.Threading.Tasks.Task

SetAsync() public static méthode

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. ///
Résultat Task

SetIfNotExists() public static méthode

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
Résultat Task

SetIfNotExists() public static méthode

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. ///
Résultat bool

SetIfNotExistsAsync() public static méthode

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. ///
Résultat Task