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 ofDistributedQueueFactorythat 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.DistributedQueuemakeQueue(String path)voidremoveQueue(String path)
-
-
-
Method Detail
-
makeQueue
public org.apache.solr.client.solrj.cloud.DistributedQueue makeQueue(String path) throws IOException
- Specified by:
makeQueuein interfaceorg.apache.solr.client.solrj.cloud.DistributedQueueFactory- Throws:
IOException
-
removeQueue
public void removeQueue(String path) throws IOException
- Specified by:
removeQueuein interfaceorg.apache.solr.client.solrj.cloud.DistributedQueueFactory- Throws:
IOException
-
-