public class MongoClientOptionsFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<com.mongodb.MongoClientOptions>
| Constructor and Description |
|---|
MongoClientOptionsFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.MongoClientOptions |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setConnectionsPerHost(int connectionsPerHost) |
void |
setConnectTimeout(int connectTimeout) |
void |
setMaxWaitTime(int maxWaitTime) |
void |
setSocketKeepAlive(boolean socketKeepAlive) |
void |
setSocketTimeout(int socketTimeout) |
void |
setThreadsAllowedToBlockForConnectionMultiplier(int threadsAllowedToBlockForConnectionMultiplier) |
public void setConnectionsPerHost(int connectionsPerHost)
public void setConnectTimeout(int connectTimeout)
public void setMaxWaitTime(int maxWaitTime)
public void setSocketKeepAlive(boolean socketKeepAlive)
public void setSocketTimeout(int socketTimeout)
public void setThreadsAllowedToBlockForConnectionMultiplier(int threadsAllowedToBlockForConnectionMultiplier)
public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<com.mongodb.MongoClientOptions>public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<com.mongodb.MongoClientOptions>Copyright © 2017. All rights reserved.