org.iternine.jeppetto.dao.mongodb
Class SettableMongoDBOptions

java.lang.Object
  extended by com.mongodb.MongoOptions
      extended by org.iternine.jeppetto.dao.mongodb.SettableMongoDBOptions

public class SettableMongoDBOptions
extends com.mongodb.MongoOptions


Field Summary
 
Fields inherited from class com.mongodb.MongoOptions
autoConnectRetry, connectionsPerHost, connectTimeout, dbDecoderFactory, description, fsync, j, maxAutoConnectRetryTime, maxWaitTime, safe, slaveOk, socketFactory, socketKeepAlive, socketTimeout, threadsAllowedToBlockForConnectionMultiplier, w, wtimeout
 
Constructor Summary
SettableMongoDBOptions()
           
 
Method Summary
 int getConnectionsPerHost()
           
 int getConnectTimeout()
           
 int getSocketTimeout()
           
 int getThreadsAllowedToBlockForConnectionMultiplier()
           
 boolean isAutoConnectRetry()
           
 void setAutoConnectRetry(boolean autoConnectRetry)
           
 void setConnectionsPerHost(int connectionsPerHost)
           
 void setConnectTimeout(int connectTimeout)
           
 void setSocketTimeout(int socketTimeout)
           
 void setThreadsAllowedToBlockForConnectionMultiplier(int threadsAllowedToBlockForConnectionMultiplier)
           
 
Methods inherited from class com.mongodb.MongoOptions
getWriteConcern, reset, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SettableMongoDBOptions

public SettableMongoDBOptions()
Method Detail

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.