ReplicationRoundRobinServerGroup Class

MySQL Connector/Net

ReplicationRoundRobinServerGroup Class
Class that implements Round Robing Load Balancing technique
Inheritance Hierarchy
SystemObject  MySql.Data.MySqlClient.ReplicationReplicationServerGroup
    MySql.Data.MySqlClient.ReplicationReplicationRoundRobinServerGroup

Namespace: MySql.Data.MySqlClient.Replication
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
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.

Constructors
Properties
  NameDescription
Public propertyName
Group name
(Inherited from ReplicationServerGroup.)
Public propertyRetryTime
Retry time between connections to failed servers
(Inherited from ReplicationServerGroup.)
Protected propertyServers
Servers list in the group
(Inherited from ReplicationServerGroup.)
Top
Methods
  NameDescription
Protected methodAddServer
Adds a server into the group
(Inherited from ReplicationServerGroup.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetServer(Boolean)
Gets an available server based on Round Robin load balancing
(Overrides ReplicationServerGroupGetServer(Boolean).)
Protected methodGetServer(String)
Gets a server by name
(Inherited from ReplicationServerGroup.)
Protected methodGetServer(Boolean, MySqlConnectionStringBuilder) (Inherited from ReplicationServerGroup.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleFailover(ReplicationServer)
Handles a failed connection to a server. This method can be overrided to implement a custom failover handling
(Inherited from ReplicationServerGroup.)
Protected methodHandleFailover(ReplicationServer, Exception)
Handles a failed connection to a server.
(Inherited from ReplicationServerGroup.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRemoveServer
Removes a server from group
(Inherited from ReplicationServerGroup.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldservers (Inherited from ReplicationServerGroup.)
Top
See Also