public interface SearchIndexBuilderWorker
| Modifier and Type | Method and Description |
|---|---|
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() |
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) |
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) |
void checkRunning()
boolean isRunning()
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 queuevoid 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()
Copyright © 2003–2019 Sakai Project. All rights reserved.