Package org.apache.ofbiz.content.search
Class DocumentIndexer
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.ofbiz.content.search.DocumentIndexer
-
- All Implemented Interfaces:
java.lang.Runnable
public class DocumentIndexer extends java.lang.Thread
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentIndexer
getInstance(Delegator delegator, java.lang.String indexName)
boolean
queue(LuceneDocument document)
void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Method Detail
-
getInstance
public static DocumentIndexer getInstance(Delegator delegator, java.lang.String indexName)
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
queue
public boolean queue(LuceneDocument document)
-
-