public RiakNode setIdleTimeout ( int idleTimeoutInMillis ) { stateCheck ( State . CREATED , State . RUNNING , State . HEALTH_CHECKING ) ; this . idleTimeoutInNanos = TimeUnit . NANOSECONDS . convert ( idleTimeoutInMillis , TimeUnit . MILLISECONDS ) ; return this ; }
Sets the connection idle timeout for connections .