.net(new Net(LOCALHOST, port, Network.localhostIsIPv6())) // .cmdOptions(cmdOptions);
public MongosConfigBuilder net(Net net) { net().set(net); return this; }
@Override public IMongosConfig build() { IFeatureAwareVersion version = version().get(); Net net = net().get(); Timeout timeout = timeout().get(); String configDB = get(CONFIG_DB); String replicaSet = get(RELICA_SET); IMongoCmdOptions cmdOptions=get(CMD_OPTIONS); String pidFile = get(PID_FILE); return new ImmutableMongosConfig(version, net, timeout, cmdOptions, pidFile, configDB, replicaSet, args); }