public class MongoClientConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MongoClientConfiguration.Builder |
| Constructor and Description |
|---|
MongoClientConfiguration(com.google.common.net.HostAndPort hostAndPort,
SocketFactory socketFactory,
boolean sslEnabled,
boolean sslAllowInvalidHostnames,
com.google.common.collect.ImmutableList<MongoAuthenticationConfiguration> authenticationConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
MongoClientConfiguration.Builder |
builder(com.google.common.net.HostAndPort hostAndPort) |
com.google.common.collect.ImmutableList<MongoAuthenticationConfiguration> |
getAuthenticationConfigurations() |
com.google.common.net.HostAndPort |
getHostAndPort() |
SocketFactory |
getSocketFactory() |
boolean |
isSslAllowInvalidHostnames() |
boolean |
isSslEnabled() |
String |
toString() |
public MongoClientConfiguration(com.google.common.net.HostAndPort hostAndPort,
SocketFactory socketFactory,
boolean sslEnabled,
boolean sslAllowInvalidHostnames,
com.google.common.collect.ImmutableList<MongoAuthenticationConfiguration> authenticationConfiguration)
public com.google.common.net.HostAndPort getHostAndPort()
public SocketFactory getSocketFactory()
public boolean isSslEnabled()
public boolean isSslAllowInvalidHostnames()
public com.google.common.collect.ImmutableList<MongoAuthenticationConfiguration> getAuthenticationConfigurations()
public MongoClientConfiguration.Builder builder(com.google.common.net.HostAndPort hostAndPort)
Copyright © 2016 8Kdata Technology. All rights reserved.