java.lang .Object org.sakaiproject.search.component.service.impl .SearchIndexBuilderWorkerImpl GLOBAL_CONTEXT final protected static Object GLOBAL_CONTEXT (Code)
LOCKKEY final public static String LOCKKEY (Code) The lock we use to ensure single search index writer
sleepTime public long sleepTime(Code) The maximum sleep time for the wait/notify semaphore
checkRunning public void checkRunning()(Code)
clearHardLock public void clearHardLock()(Code)
destroy public void destroy()(Code)
disableDiagnostics public void disableDiagnostics()(Code)
enableDiagnostics public void enableDiagnostics()(Code)
getActivity public int getActivity()(Code) Returns the activity.
getHardLock public boolean getHardLock(long nodeLifetime, boolean forceLock)(Code)
getLastEventTime public long getLastEventTime()(Code)
getLastIndex public long getLastIndex()(Code) Returns the lastIndex.
getLoadFactor public long getLoadFactor()(Code) the loadFactor
getLockTransaction public boolean getLockTransaction(long nodeLifetime)(Code)
getLockTransaction public boolean getLockTransaction(long nodeLifetime, boolean forceLock)(Code) throws: HibernateException -
getNowIndexing public String getNowIndexing()(Code) Returns the nowIndexing.
getSleepTime public long getSleepTime()(Code) Returns the sleepTime.
getSoakTest public boolean getSoakTest()(Code) the soakTest
getStartDocIndex public long getStartDocIndex()(Code) Returns the startDocIndex.
hasDiagnostics public boolean hasDiagnostics()(Code)
incrementActivity public void incrementActivity()(Code)
isLocalLock public boolean isLocalLock()(Code) Is the lock on this node, but not this thread lockedTo == null, localloc ==
false lockedTo == this node, locallock = false; lockedTo != this node,
localLock = true
isRunning public boolean isRunning()(Code)
removeWorkerLock public boolean removeWorkerLock()(Code)
resetActivity public void resetActivity()(Code) Parameters: activity - The activity to set.
run public void run()(Code) Main run target of the worker thread
setDataSource public void setDataSource(DataSource dataSource)(Code) Parameters: dataSource - The dataSource to set.
setLastIndex public void setLastIndex(long l)(Code)
setLoadFactor public void setLoadFactor(long loadFactor)(Code) Parameters: loadFactor - the loadFactor to set
setNowIndexing public void setNowIndexing(String reference)(Code)
setSearchIndexBuilderWorkerDao public void setSearchIndexBuilderWorkerDao(SearchIndexBuilderWorkerDao searchIndexBuilderWorkerDao)(Code) Parameters: searchIndexBuilderWorkerDao - The searchIndexBuilderWorkerDao to set.
setSleepTime public void setSleepTime(long sleepTime)(Code) Parameters: sleepTime - The sleepTime to set.
setSoakTest public void setSoakTest(boolean soakTest)(Code) Puts the index builder into a Soak test, when there are no pending items,
it starts building again.
Parameters: soakTest - the soakTest to set
setStartDocIndex public void setStartDocIndex(long startDocIndex)(Code)