Package org.apache.solr.cloud
Class ZkDistributedQueueFactory
- java.lang.Object
-
- org.apache.solr.cloud.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 ofDistributedQueueFactory
that uses ZooKeeper.
-
-
Constructor Summary
Constructors Constructor Description ZkDistributedQueueFactory(org.apache.solr.common.cloud.SolrZkClient zkClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.solr.client.solrj.cloud.DistributedQueue
makeQueue(String path)
void
removeQueue(String path)
-
-
-
Method Detail
-
makeQueue
public org.apache.solr.client.solrj.cloud.DistributedQueue makeQueue(String path) throws IOException
- Specified by:
makeQueue
in interfaceorg.apache.solr.client.solrj.cloud.DistributedQueueFactory
- Throws:
IOException
-
removeQueue
public void removeQueue(String path) throws IOException
- Specified by:
removeQueue
in interfaceorg.apache.solr.client.solrj.cloud.DistributedQueueFactory
- Throws:
IOException
-
-