Class StoppableCommitThread

  • All Implemented Interfaces:
    Runnable

    public class StoppableCommitThread
    extends Thread
    • Constructor Detail

      • StoppableCommitThread

        public StoppableCommitThread​(org.apache.solr.client.solrj.SolrClient cloudClient,
                                     long timeBetweenCommitsMs,
                                     boolean softCommits)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread
      • safeStop

        public void safeStop()