Class SimDistributedQueueFactory
- java.lang.Object
-
- org.apache.solr.cloud.autoscaling.sim.SimDistributedQueueFactory
-
- All Implemented Interfaces:
DistributedQueueFactory
public class SimDistributedQueueFactory extends Object implements DistributedQueueFactory
SimulatedDistributedQueueFactory
that keeps all data in memory. Unlike theGenericDistributedQueueFactory
this queue implementation data is not exposed anywhere.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimDistributedQueueFactory.SimDistributedQueue
-
Constructor Summary
Constructors Constructor Description SimDistributedQueueFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedQueue
makeQueue(String path)
void
removeQueue(String path)
-
-
-
Method Detail
-
makeQueue
public DistributedQueue makeQueue(String path) throws IOException
- Specified by:
makeQueue
in interfaceDistributedQueueFactory
- Throws:
IOException
-
removeQueue
public void removeQueue(String path) throws IOException
- Specified by:
removeQueue
in interfaceDistributedQueueFactory
- Throws:
IOException
-
-