메소드 | 설명 | |
---|---|---|
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 |