|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BackendQueueProcessorFactory
Interface for different types of queue processor factories. Implementations need a no-arg constructor. The factory typically prepares or pools the resources needed by the queue processor.
Method Summary | |
---|---|
void |
close()
Used to shutdown and eventually release resources. |
Runnable |
getProcessor(List<LuceneWork> queue)
Return a runnable implementation responsible for processing the queue to a given backend. |
void |
initialize(Properties props,
SearchFactoryImplementor searchFactory)
Used at startup, called once as first method. |
Method Detail |
---|
void initialize(Properties props, SearchFactoryImplementor searchFactory)
props
- all configuration propertiessearchFactory
- the clientRunnable getProcessor(List<LuceneWork> queue)
queue
- The work queue to process.
Runnable
which processes queue
when started.void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |