Click or drag to resize

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: 8.0.22
Syntax
public class ReplicationRoundRobinServerGroup : ReplicationServerGroup

The ReplicationRoundRobinServerGroup type exposes the following members.

Constructors
  NameDescription
Public methodReplicationRoundRobinServerGroup
Initializes a new instance of the ReplicationRoundRobinServerGroup class
Top
Properties
  NameDescription
Public propertyName
Gets the group name.
(Inherited from ReplicationServerGroup.)
Public propertyRetryTime
Gets the retry time between connections to failed servers.
(Inherited from ReplicationServerGroup.)
Protected propertyServers
Gets the server 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)
Defines the next server for a custom load balancing implementation.
(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.
(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 the group.
(Inherited from ReplicationServerGroup.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldservers
List of servers available for replication.
(Inherited from ReplicationServerGroup.)
Top
See Also