public void setThreadKeepAliveTime ( int threadKeepAliveTime ) { this . threadKeepAliveTime = Math . max ( MIN_RECEIVE_THREAD_KEEP_ALIVE_TIME , threadKeepAliveTime ) ; executor . setKeepAliveTime ( threadKeepAliveTime , TimeUnit . SECONDS ) ; }
Sets the number of seconds threads well be kept alive .