Class LBHttp2SolrClient.Builder

    • Method Detail

      • setAliveCheckInterval

        public LBHttp2SolrClient.Builder setAliveCheckInterval​(int aliveCheckInterval,
                                                               TimeUnit unit)
        LBHttpSolrServer keeps pinging the dead servers at fixed interval to find if it is alive. Use this to set that interval
        Parameters:
        aliveCheckInterval - how often to ping for aliveness