Package org.apache.solr.cloud
Class ZkDistributedQueueFactory
- java.lang.Object
-
- org.apache.solr.cloud.ZkDistributedQueueFactory
-
- All Implemented Interfaces:
DistributedQueueFactory
public class ZkDistributedQueueFactory extends Object implements DistributedQueueFactory
Implementation ofDistributedQueueFactorythat uses ZooKeeper.
-
-
Constructor Summary
Constructors Constructor Description ZkDistributedQueueFactory(SolrZkClient zkClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedQueuemakeQueue(String path)voidremoveQueue(String path)
-
-
-
Constructor Detail
-
ZkDistributedQueueFactory
public ZkDistributedQueueFactory(SolrZkClient zkClient)
-
-
Method Detail
-
makeQueue
public DistributedQueue makeQueue(String path) throws IOException
- Specified by:
makeQueuein interfaceDistributedQueueFactory- Throws:
IOException
-
removeQueue
public void removeQueue(String path) throws IOException
- Specified by:
removeQueuein interfaceDistributedQueueFactory- Throws:
IOException
-
-