public class MongoClientConfigurationTest extends Object
MongoClientConfiguration class.| Constructor and Description |
|---|
MongoClientConfigurationTest() |
public void testAddCredentials()
MongoClientConfiguration.addCredential(Credential) .public void testAddServer()
MongoClientConfiguration.addServer(java.net.InetSocketAddress).public void testAddServerString()
MongoClientConfiguration.addServer(String).public void testAuthenticate()
MongoClientConfiguration.authenticate(String, String) .public void testAuthenticateAsAdmin()
MongoClientConfiguration.authenticateAsAdmin(String, String) .public void testAuthenticateSetDBFirst()
MongoClientConfiguration.authenticate(String, String)
.public void testAuthenticateSetDBSecond()
MongoClientConfiguration.authenticate(String, String)
.public void testClone()
public void testMongoClientConfiguration()
MongoClientConfiguration.MongoClientConfiguration().public void testMongoClientConfigurationInetSocketAddressArray()
public void testMongoClientConfigurationMongoClientConfiguration()
public void testMongoClientConfigurationMongoClientConfigurationWithCredentials()
public void testMongoFsync()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoJournal()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoReplica()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoReplicaTimeout()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUri()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriAck()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriAdminUserNamePassword()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriAllProps()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriBadFieldValue()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriExplicitAdminUserNamePassword()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriIllegalValue()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriMinMaxConnectionCount()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriNoPassword()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriNoServer()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriNoServers()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriNull()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriPrimary()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriSecondary()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriSslOff()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriSslOn()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriTwoServers()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriUserNamePassword()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriUuidRep()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriWithIPV6()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriWithIPV6LastTupleLooksLikePort()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriWithIPV6WithPort()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriWithLockType()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriWithMongodbS()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testMongoUriWrongPrefix()
MongoClientConfiguration.MongoClientConfiguration(String) .public void testSerialization()
throws IOException,
ClassNotFoundException
MongoClientConfiguration serialization.IOException - On a failure reading or writing the config.ClassNotFoundException - On a failure reading the config.public void testSetAutoDiscoverServers()
MongoClientConfiguration.setAutoDiscoverServers(boolean).public void testSetConnectionModel()
MongoClientConfiguration.setConnectionModel(ConnectionModel).public void testSetConnectTimeout()
MongoClientConfiguration.setConnectTimeout(int).public void testSetDefaultDataabse()
MongoClientConfiguration.setDefaultDatabase(java.lang.String).public void testSetDefaultDurability()
public void testSetDefaultReadPreference()
public void testSetExecutor()
MongoClientConfiguration.setExecutor(Executor) .public void testSetLockType()
MongoClientConfiguration.setLockType(LockType).public void testSetMaxCachedStringEntries()
MongoClientConfiguration.setMaxCachedStringEntries(int).public void testSetMaxCachedStringLength()
MongoClientConfiguration.setMaxCachedStringLength(int)
.public void testSetMaxConnectionCount()
MongoClientConfiguration.setMaxConnectionCount(int).public void testSetMaxPendingOperationsPerConnection()
MongoClientConfiguration.setMaxPendingOperationsPerConnection(int)
.public void testSetMaxSecondaryLag()
MongoClientConfiguration.setMaxSecondaryLag(long)
.public void testSetReadTimeout()
MongoClientConfiguration.setReadTimeout(int).public void testSetReconnectTimeout()
MongoClientConfiguration.setReconnectTimeout(int)
.public void testSetServers()
MongoClientConfiguration.setServers(java.util.List).public void testSetSocketFactory()
public void testSetThreadFactory()
public void testSetUsingSoKeepalive()
MongoClientConfiguration.setUsingSoKeepalive(boolean) .Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.