Метод | Описание | |
---|---|---|
ChooseServerInstance ( ReadPreference readPreference ) : MongoServerInstance |
Chooses the server instance.
|
|
Connect ( System.TimeSpan timeout, ReadPreference readPreference ) : void |
Connects to the instances respecting the timeout and readPreference.
|
|
Disconnect ( ) : void |
Disconnects this instance.
|
|
DiscoveringMongoServerProxy ( MongoServerSettings settings ) : System |
Initializes a new instance of the DiscoveringMongoServerProxy class.
|
|
Ping ( ) : void |
Pings this instance.
|
|
VerifyState ( ) : void |
Verifies the state.
|
Метод | Описание | |
---|---|---|
CreateActualProxy ( MongoServerInstance instance, BlockingQueue |
||
Discover ( System.TimeSpan timeout ) : void | ||
EnsureInstanceManager ( System.TimeSpan timeout ) : void |
public ChooseServerInstance ( ReadPreference readPreference ) : MongoServerInstance | ||
readPreference | ReadPreference | The read preference. |
Результат | MongoServerInstance |
public Connect ( System.TimeSpan timeout, ReadPreference readPreference ) : void | ||
timeout | System.TimeSpan | The timeout. |
readPreference | ReadPreference | The read preference. |
Результат | void |
public DiscoveringMongoServerProxy ( MongoServerSettings settings ) : System | ||
settings | MongoServerSettings | The settings. |
Результат | System |