Class ZkDistributedQueueFactory

  • All Implemented Interfaces:
    org.apache.solr.client.solrj.cloud.DistributedQueueFactory

    public class ZkDistributedQueueFactory
    extends Object
    implements org.apache.solr.client.solrj.cloud.DistributedQueueFactory
    Implementation of DistributedQueueFactory that uses ZooKeeper.
    • Constructor Detail

      • ZkDistributedQueueFactory

        public ZkDistributedQueueFactory​(org.apache.solr.common.cloud.SolrZkClient zkClient)
    • Method Detail

      • makeQueue

        public org.apache.solr.client.solrj.cloud.DistributedQueue makeQueue​(String path)
                                                                      throws IOException
        Specified by:
        makeQueue in interface org.apache.solr.client.solrj.cloud.DistributedQueueFactory
        Throws:
        IOException
      • removeQueue

        public void removeQueue​(String path)
                         throws IOException
        Specified by:
        removeQueue in interface org.apache.solr.client.solrj.cloud.DistributedQueueFactory
        Throws:
        IOException