Click or drag to resize

IClusterableServer Interface

Represents a server that can be part of a cluster.

Namespace:  MongoDB.Driver.Core.Servers
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public interface IClusterableServer : IServer, 
	IDisposable

The IClusterableServer type exposes the following members.

Properties
  NameDescription
Public propertyDescription
Gets the server description.
(Inherited from IServer.)
Public propertyEndPoint
Gets the end point.
(Inherited from IServer.)
Public propertyIsInitialized
Gets a value indicating whether this instance is initialized.
Public propertyOutstandingOperationsCount
Gets the outstanding operations count.
Public propertyServerId
Gets the server identifier.
(Inherited from IServer.)
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetChannel
Gets a channel to the server.
(Inherited from IServer.)
Public methodGetChannelAsync
Gets a channel to the server.
(Inherited from IServer.)
Public methodInitialize
Initializes this instance.
Public methodInvalidate(String) Obsolete.
Invalidates this instance (sets the server type to Unknown and clears the connection pool).
Public methodInvalidate(String, TopologyVersion)
Invalidates this instance (sets the server type to Unknown and clears the connection pool).
Public methodRequestHeartbeat
Requests a heartbeat as soon as possible.
Top
Events
  NameDescription
Public eventDescriptionChanged
Occurs when the server description changes.
(Inherited from IServer.)
Top
See Also