Method | Description | |
---|---|---|
AddReadConnection ( string connection, bool establishConnection = true ) : void |
Adds a read connection.
|
|
AddWriteConnection ( string connection, bool establishConnection = true ) : void |
Adds a write connection.
|
|
ConnectionGroup ( string name, bool analytics = false ) : System |
Initializes a new instance of the ConnectionGroup class.
|
|
GetReadMultiplexer ( ) : StackExchange.Redis.ConnectionMultiplexer |
Retrieves a connection from the read pool on a round-robin basis.
|
|
GetWriteMultiplexer ( ) : StackExchange.Redis.ConnectionMultiplexer |
Retrieves the available write connections.
|
|
ToString ( ) : string |
Returns a string that represents the current object.
|
Method | Description | |
---|---|---|
UpdateReadPool ( ) : void |
Updates the read pool with connections.
|
public AddReadConnection ( string connection, bool establishConnection = true ) : void | ||
connection | string | /// The connection. /// |
establishConnection | bool | /// Talks with the redis instance defined in the connection string to establish a connection. /// |
return | void |
public AddWriteConnection ( string connection, bool establishConnection = true ) : void | ||
connection | string | /// The connection. /// |
establishConnection | bool | /// Talks with the redis instance defined in the connection string to establish a connection. /// |
return | void |
public ConnectionGroup ( string name, bool analytics = false ) : System | ||
name | string | /// The name. /// |
analytics | bool | /// True if this connection group is used for bitwise analytics. /// |
return | System |
public GetReadMultiplexer ( ) : StackExchange.Redis.ConnectionMultiplexer | ||
return | StackExchange.Redis.ConnectionMultiplexer |
public GetWriteMultiplexer ( ) : StackExchange.Redis.ConnectionMultiplexer | ||
return | StackExchange.Redis.ConnectionMultiplexer |