|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.search.backend.impl.blackhole.BlackHoleBackendQueueProcessorFactory
public class BlackHoleBackendQueueProcessorFactory
This backend does not do anything: the Documents are not sent to any index but are discarded. Useful to identify the bottleneck in indexing performance problems, fully disabling the backend system but still building the Documents needed to update an index (loading data from DB).
| Constructor Summary | |
|---|---|
BlackHoleBackendQueueProcessorFactory()
|
|
| Method Summary | |
|---|---|
void |
close()
Used to shutdown and eventually release resources. |
java.lang.Runnable |
getProcessor(java.util.List<LuceneWork> queue)
Return a runnable implementation responsible for processing the queue to a given backend. |
void |
initialize(java.util.Properties props,
SearchFactoryImplementor searchFactory)
Used at startup, called once as first method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlackHoleBackendQueueProcessorFactory()
| Method Detail |
|---|
public java.lang.Runnable getProcessor(java.util.List<LuceneWork> queue)
BackendQueueProcessorFactory
getProcessor in interface BackendQueueProcessorFactoryqueue - The work queue to process.
Runnable which processes queue when started.
public void initialize(java.util.Properties props,
SearchFactoryImplementor searchFactory)
BackendQueueProcessorFactory
initialize in interface BackendQueueProcessorFactoryprops - all configuration propertiessearchFactory - the clientpublic void close()
BackendQueueProcessorFactory
close in interface BackendQueueProcessorFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||