ReplicationServerGroup Class

MySQL Connector/Net

ReplicationServerGroup Class
Base class used to implement load balancing features
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 abstract class ReplicationServerGroup
Public MustInherit Class ReplicationServerGroup
public ref class ReplicationServerGroup abstract
[<AbstractClassAttribute>]
type ReplicationServerGroup =  class end

The ReplicationServerGroup type exposes the following members.

Constructors
  NameDescription
Public methodReplicationServerGroup
Top
Properties
  NameDescription
Public propertyName
Group name
Public propertyRetryTime
Retry time between connections to failed servers
Protected propertyServers
Servers list in the group
Top
Methods
  NameDescription
Protected methodAddServer
Adds a server into the group
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)
Must be implemented. Defines the next server for a custom load balancing implementation.
Protected methodGetServer(String)
Gets a server by name
Protected methodGetServer(Boolean, MySqlConnectionStringBuilder)
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
Protected methodHandleFailover(ReplicationServer, Exception)
Handles a failed connection to a server.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRemoveServer
Removes a server from group
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldservers
Top
See Also