ReplicationRoundRobinServerGroup Class
From MySQL Connector/Net
MySQL Connector/Net
| ReplicationRoundRobinServerGroup Class |
Class that implements Round Robing Load Balancing technique
SystemObject MySql.Data.MySqlClient.ReplicationReplicationServerGroup
MySql.Data.MySqlClient.ReplicationReplicationRoundRobinServerGroup
MySql.Data.MySqlClient.ReplicationReplicationRoundRobinServerGroup
Namespace: MySql.Data.MySqlClient.Replication
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
public class ReplicationRoundRobinServerGroup : ReplicationServerGroup
Public Class ReplicationRoundRobinServerGroup Inherits ReplicationServerGroup
public ref class ReplicationRoundRobinServerGroup : public ReplicationServerGroup
type ReplicationRoundRobinServerGroup = class inherit ReplicationServerGroup end
The ReplicationRoundRobinServerGroup type exposes the following members.
| Name | Description | |
|---|---|---|
| ReplicationRoundRobinServerGroup |
| Name | Description | |
|---|---|---|
| Name |
Group name
(Inherited from ReplicationServerGroup.) | |
| RetryTime |
Retry time between connections to failed servers
(Inherited from ReplicationServerGroup.) | |
| Servers |
Servers list in the group
(Inherited from ReplicationServerGroup.) |
| Name | Description | |
|---|---|---|
| AddServer |
Adds a server into the group
(Inherited from ReplicationServerGroup.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetServer(Boolean) |
Gets an available server based on Round Robin load balancing
(Overrides ReplicationServerGroupGetServer(Boolean).) | |
| GetServer(String) |
Gets a server by name
(Inherited from ReplicationServerGroup.) | |
| GetServer(Boolean, MySqlConnectionStringBuilder) | (Inherited from ReplicationServerGroup.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HandleFailover(ReplicationServer) |
Handles a failed connection to a server.
This method can be overrided to implement a custom failover handling
(Inherited from ReplicationServerGroup.) | |
| HandleFailover(ReplicationServer, Exception) |
Handles a failed connection to a server.
(Inherited from ReplicationServerGroup.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveServer |
Removes a server from group
(Inherited from ReplicationServerGroup.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| servers | (Inherited from ReplicationServerGroup.) |