* @see org.jgroups.protocols.TCP#getConnectionTable(long, long)
*/
protected ConnectionTableNIO getConnectionTable(long ri, long cet,
InetAddress b_addr, InetAddress bc_addr,
int external_port, int s_port, int e_port) throws Exception {
ConnectionTableNIO retval=null;
if (ri == 0 && cet == 0) {
retval = new ConnectionTableNIO(this, b_addr, bc_addr, external_port, s_port, e_port, 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, external_port, s_port, e_port, ri, cet, false);
}
retval.setThreadFactory(getThreadFactory());
retval.setProcessorMaxThreads(getProcessorMaxThreads());
retval.setProcessorQueueSize(getProcessorQueueSize());
retval.setProcessorMinThreads(getProcessorMinThreads());
retval.setProcessorKeepAliveTime(getProcessorKeepAliveTime());
retval.setProcessorThreads(getProcessorThreads());
retval.start();
return retval;
}