Свойство | Type | Description | |
---|---|---|---|
AcquireConnection | MongoConnection | ||
Connect | void | ||
Disconnect | void | ||
DisconnectPermanently | void | ||
LookupServerInformation | void | ||
MongoServerInstance | System | ||
OnAveragePingTimeChanged | void | ||
OnStateChanged | void | ||
Ping | void | ||
ReleaseConnection | void | ||
SetState | void | ||
SetState | void | ||
StateVerificationTimerCallback | void |
Méthode | Description | |
---|---|---|
GetIPEndPoint ( ) : |
Gets the IP end point of this server instance.
|
|
Ping ( ) : void |
Checks whether the server is alive (throws an exception if not).
|
|
VerifyState ( ) : void |
Verifies the state of the server instance.
|
Méthode | Description | |
---|---|---|
AcquireConnection ( string databaseName, MongoDB.Driver.MongoCredentials credentials ) : MongoConnection |
Acquires the connection.
|
|
Connect ( ) : void |
Connects this instance.
|
|
Disconnect ( ) : void |
Disconnects this instance.
|
|
DisconnectPermanently ( ) : void |
Disconnects this instance permanently.
|
|
LookupServerInformation ( MongoConnection connection ) : void | ||
MongoServerInstance ( |
Initializes a new instance of the MongoServerInstance class.
|
|
OnAveragePingTimeChanged ( ) : void | ||
OnStateChanged ( ) : void | ||
Ping ( MongoConnection connection ) : void | ||
ReleaseConnection ( MongoConnection connection ) : void |
Releases the connection.
|
|
SetState ( MongoServerState state ) : void |
Sets the state.
|
|
SetState ( MongoServerState newState, ServerInformation newServerInfo ) : void | This method must be called outside of a lock. | |
StateVerificationTimerCallback ( ) : void |