메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
InstanceAveragePingTimeChanged ( object sender, |
public EnsureContains ( MongoServerInstance instance ) : void | ||
instance | MongoServerInstance | The instance. |
리턴 | void |
public Remove ( MongoServerInstance instance ) : void | ||
instance | MongoServerInstance | The instance. |
리턴 | void |