|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchIndexBuilderWorker
| Method Summary | |
|---|---|
void |
checkRunning()
Check running, and ping the thread if in a wait state |
void |
destroy()
destroy the search index builder worker and release all resources |
String |
getCurrentDocument()
|
String |
getCurrentElapsed()
|
SearchWriterLock |
getCurrentLock()
get the current running Lock |
String |
getLastDocument()
|
String |
getLastElapsed()
|
long |
getLastEventTime()
Get the ms time of the last search add/remove event (excluding master events) |
long |
getLastIndex()
|
boolean |
getLockTransaction(long lifetime)
|
boolean |
getLockTransaction(long nodeLifetime,
boolean forceLock)
|
List<SearchWriterLock> |
getNodeStatus()
get a list of node status records |
String |
getNowIndexing()
|
long |
getStartDocIndex()
|
boolean |
isLocalLock()
|
boolean |
isRunning()
Should the thread be running |
boolean |
removeWorkerLock()
forge the removal of the worker lock |
void |
setLastIndex(long l)
|
void |
setNowIndexing(String reference)
|
void |
setStartDocIndex(long startDocIndex)
|
void |
updateNodeLock(long l)
|
| Method Detail |
|---|
void checkRunning()
boolean isRunning()
SearchWriterLock getCurrentLock()
List<SearchWriterLock> getNodeStatus()
void destroy()
boolean removeWorkerLock()
long getLastEventTime()
boolean getLockTransaction(long lifetime)
lifetime -
boolean getLockTransaction(long nodeLifetime,
boolean forceLock)
nodeLifetime - forceLock - force the lock to be taken even if there are no items in the queue
void updateNodeLock(long l)
throws SQLException
l -
SQLExceptionvoid setLastIndex(long l)
l - void setStartDocIndex(long startDocIndex)
startDocIndex - void setNowIndexing(String reference)
reference - long getLastIndex()
String getNowIndexing()
long getStartDocIndex()
String getLastDocument()
String getLastElapsed()
String getCurrentDocument()
String getCurrentElapsed()
boolean isLocalLock()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||