this.socketTimeout = 0; final NodeConfig nodeConfig = netConfig.getNodeConfig(); storageNodePort = nodeConfig.getPort(); connAttemptsLimit = nodeConfig.getConnAttemptsLimit();
public NetConfig(final NetConfig other) { this.timeoutMilliSec = other.getTimeoutMilliSec(); this.reuseAddr = other.getReuseAddr(); this.keepAlive = other.getKeepAlive(); this.tcpNoDelay = other.getTcpNoDelay(); this.linger = other.getLinger(); this.bindBacklogSize = other.getBindBacklogSize(); this.interestOpQueued = other.getInterestOpQueued(); this.rcvBuf = new SizeInBytes(other.getRcvBuf()); this.sndBuf = new SizeInBytes(other.getSndBuf()); this.ioRatio = other.getIoRatio(); this.transport = other.getTransport(); this.ssl = other.getSsl(); this.httpConfig = new HttpConfig(other.getHttpConfig()); this.nodeConfig = new NodeConfig(other.getNodeConfig()); } }