C# Класс 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
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Decrement() публичный статический метод

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
Результат Task

Decrement() публичный статический метод

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
Результат Task

Decrement() публичный статический метод

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. ///
Результат double

Decrement() публичный статический метод

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. ///
Результат long

DecrementAsync() публичный статический метод

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. ///
Результат Task

DecrementAsync() публичный статический метод

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. ///
Результат Task

Delete() публичный статический метод

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. ///
Результат bool

Delete() публичный статический метод

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. ///
Результат long

DeleteAsync() публичный статический метод

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. ///
Результат Task

DeleteAsync() публичный статический метод

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. ///
Результат Task

Exists() публичный статический метод

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
Результат Task

Exists() публичный статический метод

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. ///
Результат bool

ExistsAsync() публичный статический метод

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. ///
Результат Task

Get() публичный статический метод

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. ///
Результат RedisValue

Get() публичный статический метод

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. ///
Результат RedisValue[]

GetAll() публичный статический метод

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. ///
Результат HashEntry[]

GetAll() публичный статический метод

Returns all fields and values of the hash stored at key.
http://redis.io/commands/hgetall
public static GetAll ( RedisKey key ) : Task
key RedisKey
Результат Task

GetAllAsync() публичный статический метод

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. ///
Результат Task

GetAsync() публичный статический метод

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. ///
Результат Task

GetAsync() публичный статический метод

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. ///
Результат Task

GetByteArray() публичный статический метод

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
Результат Task

GetByteArray() публичный статический метод

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
Результат Task

GetDouble() публичный статический метод

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
Результат Task

GetInt64() публичный статический метод

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
Результат Task

GetKeys() публичный статический метод

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. ///
Результат RedisValue[]

GetKeys() публичный статический метод

Returns all field names in the hash stored at key.
http://redis.io/commands/hkeys
public static GetKeys ( RedisKey key ) : Task
key RedisKey
Результат Task

GetKeysAsync() публичный статический метод

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. ///
Результат Task

GetLength() публичный статический метод

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
Результат Task

GetLength() публичный статический метод

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. ///
Результат long

GetLengthAsync() публичный статический метод

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. ///
Результат Task

GetString() публичный статический метод

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
Результат Task

GetString() публичный статический метод

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
Результат Task

GetValues() публичный статический метод

Returns all values in the hash stored at key.
http://redis.io/commands/hvals
public static GetValues ( RedisKey key ) : RedisValue[]
key RedisKey /// The key. ///
Результат RedisValue[]

GetValues() публичный статический метод

Returns all values in the hash stored at key.
http://redis.io/commands/hvals
public static GetValues ( RedisKey key ) : Task
key RedisKey
Результат Task

GetValuesAsync() публичный статический метод

Returns all values in the hash stored at key.
http://redis.io/commands/hvals
public static GetValuesAsync ( RedisKey key ) : Task
key RedisKey /// The key. ///
Результат Task

Increment() публичный статический метод

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
Результат Task

Increment() публичный статический метод

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
Результат Task

Increment() публичный статический метод

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. ///
Результат double

Increment() публичный статический метод

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. ///
Результат long

IncrementAsync() публичный статический метод

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. ///
Результат Task

IncrementAsync() публичный статический метод

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. ///
Результат Task

Remove() публичный статический метод

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
Результат Task

Remove() публичный статический метод

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
Результат Task

Set() публичный статический метод

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
Результат System.Threading.Tasks.Task

Set() публичный статический метод

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
Результат Task

Set() публичный статический метод

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. ///
Результат bool

Set() публичный статический метод

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. ///
Результат void

SetAsync() публичный статический метод

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. ///
Результат System.Threading.Tasks.Task

SetAsync() публичный статический метод

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. ///
Результат Task

SetIfNotExists() публичный статический метод

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
Результат Task

SetIfNotExists() публичный статический метод

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. ///
Результат bool

SetIfNotExistsAsync() публичный статический метод

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. ///
Результат Task