Method | Description | |
---|---|---|
AddRedisConnectionGroup ( ConnectionGroup connectionGroup ) : void |
Adds a connectionGroup to the hash ring.
|
|
FlushDatabase ( StackExchange.Redis.ConnectionMultiplexer connection ) : void |
Flushes the database that the connection belongs to.
|
|
GetAllReadConnections ( ) : StackExchange.Redis.ConnectionMultiplexer[] |
Gets all read-only connections.
|
|
GetAllWriteConnections ( ) : StackExchange.Redis.ConnectionMultiplexer[] |
Gets all read-write connections.
|
|
GetAnalyticsReadConnection ( ) : StackExchange.Redis.ConnectionMultiplexer |
Gets a read-only connection used by analytics methods.
|
|
GetAnalyticsWriteConnection ( ) : StackExchange.Redis.ConnectionMultiplexer |
Gets the read-write connection used by analytics methods.
|
|
GetRandomReadConnection ( ) : StackExchange.Redis.ConnectionMultiplexer |
Gets a random read-only connection.
|
|
GetReadConnection ( RedisKey key ) : StackExchange.Redis.ConnectionMultiplexer |
Gets a read-only connection.
|
|
GetReadConnections ( RedisKey keys ) : RedisKey[]>.Dictionary |
Gets read-only connections for each of the keys supplied.
|
|
GetWriteConnection ( RedisKey key ) : StackExchange.Redis.ConnectionMultiplexer |
Gets the read-write connection for the key supplied.
|
|
GetWriteConnection ( RedisKey keys ) : RedisKey[]>.Dictionary |
Gets read-write connections for each of the keys supplied.
|
|
RemoveRedisConnectionGroup ( ConnectionGroup connectionGroup ) : void |
Removes a connectionGroup to the hash ring.
|
|
SetAnalyticsConnectionGroup ( ConnectionGroup connectionGroup ) : void |
Sets the connectionGroup used by the analytics methods.
|
Method | Description | |
---|---|---|
SharedCache ( ) : System |
Prevents a default instance of the SharedCache class from being created.
|
public AddRedisConnectionGroup ( ConnectionGroup connectionGroup ) : void | ||
connectionGroup | ConnectionGroup | /// The connection group. /// |
return | void |
public FlushDatabase ( StackExchange.Redis.ConnectionMultiplexer connection ) : void | ||
connection | StackExchange.Redis.ConnectionMultiplexer | /// The connection. /// |
return | void |
public GetAllReadConnections ( ) : StackExchange.Redis.ConnectionMultiplexer[] | ||
return | StackExchange.Redis.ConnectionMultiplexer[] |
public GetAllWriteConnections ( ) : StackExchange.Redis.ConnectionMultiplexer[] | ||
return | StackExchange.Redis.ConnectionMultiplexer[] |
public GetAnalyticsReadConnection ( ) : StackExchange.Redis.ConnectionMultiplexer | ||
return | StackExchange.Redis.ConnectionMultiplexer |
public GetAnalyticsWriteConnection ( ) : StackExchange.Redis.ConnectionMultiplexer | ||
return | StackExchange.Redis.ConnectionMultiplexer |
public GetRandomReadConnection ( ) : StackExchange.Redis.ConnectionMultiplexer | ||
return | StackExchange.Redis.ConnectionMultiplexer |
public GetReadConnection ( RedisKey key ) : StackExchange.Redis.ConnectionMultiplexer | ||
key | RedisKey | /// The key. /// |
return | StackExchange.Redis.ConnectionMultiplexer |
public GetReadConnections ( RedisKey keys ) : RedisKey[]>.Dictionary |
||
keys | RedisKey | /// The keys to get read connections for. /// |
return | RedisKey[]>.Dictionary |
public GetWriteConnection ( RedisKey key ) : StackExchange.Redis.ConnectionMultiplexer | ||
key | RedisKey | /// The key. /// |
return | StackExchange.Redis.ConnectionMultiplexer |
public GetWriteConnection ( RedisKey keys ) : RedisKey[]>.Dictionary |
||
keys | RedisKey | /// The keys to get read-write connections for. /// |
return | RedisKey[]>.Dictionary |
public RemoveRedisConnectionGroup ( ConnectionGroup connectionGroup ) : void | ||
connectionGroup | ConnectionGroup | /// The connection group. /// |
return | void |
public SetAnalyticsConnectionGroup ( ConnectionGroup connectionGroup ) : void | ||
connectionGroup | ConnectionGroup | /// The connection group. /// |
return | void |