Interface IClusterableServer
Represents a server that can be part of a cluster.
public interface IClusterableServer : IServer, IDisposable
- Inherited Members
Properties
IsInitialized
Gets a value indicating whether this instance is initialized.
bool IsInitialized { get; }
Property Value
- bool
trueif this instance is initialized; otherwise,false.
OutstandingOperationsCount
Gets the outstanding operations count.
int OutstandingOperationsCount { get; }
Property Value
- int
The outstanding operations count.
Methods
Initialize()
Initializes this instance.
void Initialize()
Invalidate(string)
Invalidates this instance (sets the server type to Unknown and clears the connection pool).
[Obsolete("Use Invalidate with TopologyVersion instead.")]
void Invalidate(string reasonInvalidated)
Parameters
reasonInvalidatedstringThe reason the instance was invalidated.
Invalidate(string, TopologyVersion)
Invalidates this instance (sets the server type to Unknown and clears the connection pool).
void Invalidate(string reasonInvalidated, TopologyVersion responseTopologyVersion)
Parameters
reasonInvalidatedstringThe reason the instance was invalidated.
responseTopologyVersionTopologyVersionThe topology of the version of the response that invalidated this instance.
RequestHeartbeat()
Requests a heartbeat as soon as possible.
void RequestHeartbeat()