org.iternine.jeppetto.dao.mongodb
Class SettableMongoDBOptions
java.lang.Object
com.mongodb.MongoOptions
org.iternine.jeppetto.dao.mongodb.SettableMongoDBOptions
public class SettableMongoDBOptions
- extends com.mongodb.MongoOptions
| Fields inherited from class com.mongodb.MongoOptions |
autoConnectRetry, connectionsPerHost, connectTimeout, dbDecoderFactory, description, fsync, j, maxAutoConnectRetryTime, maxWaitTime, safe, slaveOk, socketFactory, socketKeepAlive, socketTimeout, threadsAllowedToBlockForConnectionMultiplier, w, wtimeout |
| Methods inherited from class com.mongodb.MongoOptions |
getWriteConcern, reset, toString |
SettableMongoDBOptions
public SettableMongoDBOptions()
getConnectionsPerHost
public int getConnectionsPerHost()
setConnectionsPerHost
public void setConnectionsPerHost(int connectionsPerHost)
getThreadsAllowedToBlockForConnectionMultiplier
public int getThreadsAllowedToBlockForConnectionMultiplier()
setThreadsAllowedToBlockForConnectionMultiplier
public void setThreadsAllowedToBlockForConnectionMultiplier(int threadsAllowedToBlockForConnectionMultiplier)
getConnectTimeout
public int getConnectTimeout()
setConnectTimeout
public void setConnectTimeout(int connectTimeout)
getSocketTimeout
public int getSocketTimeout()
setSocketTimeout
public void setSocketTimeout(int socketTimeout)
isAutoConnectRetry
public boolean isAutoConnectRetry()
setAutoConnectRetry
public void setAutoConnectRetry(boolean autoConnectRetry)
Copyright © 2012. All Rights Reserved.