| |
|
| org.sakaiproject.search.api.SearchIndexBuilderWorker
All known Subclasses: org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl,
SearchIndexBuilderWorker | public interface SearchIndexBuilderWorker extends Diagnosable(Code) | | |
checkRunning | void checkRunning()(Code) | | Check running, and ping the thread if in a wait state
|
destroy | void destroy()(Code) | | destroy the search index builder worker and release all resources
|
getActivity | int getActivity()(Code) | | get an indication of the current activity level
|
getLastEventTime | long getLastEventTime()(Code) | | Get the ms time of the last search add/remove event (excluding master events)
|
getLastIndex | long getLastIndex()(Code) | | |
getLockTransaction | boolean getLockTransaction(long lifetime)(Code) | | Parameters: lifetime - |
getLockTransaction | boolean getLockTransaction(long nodeLifetime, boolean forceLock)(Code) | | Parameters: nodeLifetime - Parameters: forceLock - force the lock to be taken even if there are no items in the queue |
getNodeStatus | List getNodeStatus()(Code) | | get a list of node status records
|
getStartDocIndex | long getStartDocIndex()(Code) | | |
incrementActivity | void incrementActivity()(Code) | | Increment the activity counter
|
isLocalLock | boolean isLocalLock()(Code) | | |
isRunning | boolean isRunning()(Code) | | Should the thread be running
|
removeWorkerLock | boolean removeWorkerLock()(Code) | | forge the removal of the worker lock
|
resetActivity | void resetActivity()(Code) | | reset the activity levels
|
setLastIndex | void setLastIndex(long l)(Code) | | Parameters: l - |
setNowIndexing | void setNowIndexing(String reference)(Code) | | Parameters: reference - |
setStartDocIndex | void setStartDocIndex(long startDocIndex)(Code) | | Parameters: startDocIndex - |
|
|
|