Interface SolrIndexQueueProvider

All Known Implementing Classes:
DefaultSolrIndexQueueProvider

public interface SolrIndexQueueProvider
Provides a FIFO Queue to hold a series of commands to be executed in sequence. This also provides a Lock so that only one thread can execute commands at any given time.

Note that it's safer to use a distributed Queue and a distributed Lock so that multiple nodes (JVMs) can't simultaneously execute commands, potentially overriding or corrupting each other. A local Queue and a local Lock are satisfactory if users can guarantee that only a single node (JVM) will ever update Solr or receive events (e.g. from the admin) to update Solr.

Author:
Kelly Tisdell