public void setCloseConnectionWatchTimeout ( long closeConnectionWatchTimeout , TimeUnit timeUnit ) { this . closeConnectionWatchTimeoutInMs = TimeUnit . MILLISECONDS . convert ( closeConnectionWatchTimeout , timeUnit ) ; }
Sets the time to wait when close connection watch threads are enabled . 0 = wait forever .