Method | Description | |
---|---|---|
Clear ( ) : void |
Clears all the instances.
|
|
ConnectedInstanceCollection ( ) : System |
Initializes a new instance of the ConnectedInstanceCollection class.
|
|
EnsureContains ( MongoServerInstance instance ) : void |
Ensures that the instance is in the collection.
|
|
GetAllInstances ( ) : List |
Gets a list of all instances.
|
|
GetPrimary ( ) : MongoServerInstance |
Gets the primary instance.
|
|
GetPrimaryAndSecondaries ( ) : List |
Gets a list of primary and secondary instances.
|
|
GetSecondaries ( ) : List |
Gets a list of secondaries.
|
|
Remove ( MongoServerInstance instance ) : void |
Removes the specified instance.
|
Method | Description | |
---|---|---|
InstanceAveragePingTimeChanged ( object sender, |
public ConnectedInstanceCollection ( ) : System | ||
return | System |
public EnsureContains ( MongoServerInstance instance ) : void | ||
instance | MongoServerInstance | The instance. |
return | void |
public Remove ( MongoServerInstance instance ) : void | ||
instance | MongoServerInstance | The instance. |
return | void |