Examples of socketKeepAlive()


Examples of com.mongodb.MongoClientOptions.Builder.socketKeepAlive()

      builder.dbEncoderFactory(options.getDbEncoderFactory());
      builder.description(options.getDescription());
      builder.maxWaitTime(options.getMaxWaitTime());
      builder.readPreference(options.getReadPreference());
      builder.socketFactory(options.getSocketFactory());
      builder.socketKeepAlive(options.isSocketKeepAlive());
      builder.socketTimeout(options.getSocketTimeout());
      builder.threadsAllowedToBlockForConnectionMultiplier(options
          .getThreadsAllowedToBlockForConnectionMultiplier());
      builder.writeConcern(options.getWriteConcern());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.