public class ZkDistributedQueueFactory extends Object implements DistributedQueueFactory
DistributedQueueFactory
that uses ZooKeeper.Constructor and Description |
---|
ZkDistributedQueueFactory(SolrZkClient zkClient) |
Modifier and Type | Method and Description |
---|---|
DistributedQueue |
makeQueue(String path) |
void |
removeQueue(String path) |
public ZkDistributedQueueFactory(SolrZkClient zkClient)
public DistributedQueue makeQueue(String path) throws IOException
makeQueue
in interface DistributedQueueFactory
IOException
public void removeQueue(String path) throws IOException
removeQueue
in interface DistributedQueueFactory
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.