* @see org.jgroups.protocols.TCP#getConnectionTable(long, long)
*/
protected ConnectionTableNIO getConnectionTable(long ri, long cet,
InetAddress b_addr, InetAddress bc_addr,
int s_port, int e_port, PortsManager pm) throws Exception {
ConnectionTableNIO retval=null;
if (ri == 0 && cet == 0) {
retval = new ConnectionTableNIO(this, b_addr, bc_addr, s_port, e_port, pm, false );
}
else {
if (ri == 0) {
ri = 5000;
if(log.isWarnEnabled()) log.warn("reaper_interval was 0, set it to " + ri);
}
if (cet == 0) {
cet = 1000 * 60 * 5;
if(log.isWarnEnabled()) log.warn("conn_expire_time was 0, set it to " + cet);
}
retval = new ConnectionTableNIO(this, b_addr, bc_addr, s_port, e_port, pm, ri, cet, false);
}
retval.setThreadFactory(getProtocolStack().getThreadFactory());
retval.setProcessorMaxThreads(getProcessorMaxThreads());
retval.setProcessorQueueSize(getProcessorQueueSize());
retval.setProcessorMinThreads(getProcessorMinThreads());
retval.setProcessorKeepAliveTime(getProcessorKeepAliveTime());
retval.setProcessorThreads(getProcessorThreads());
retval.start();
return retval;
}