NIHVIVO-3209 Create VitroBackgroundThread to provide an answer to the question "are all background threads idle?". Make IndexBuilder and VClassGroupCache.RebuildGroupCacheThread subclasses of VitroBackgroundThread, so they will be included in that question.

This commit is contained in:
j2blake 2011-10-11 19:45:30 +00:00
parent d3f77a374c
commit e8d8c494f7
5 changed files with 242 additions and 46 deletions

View file

@ -0,0 +1,23 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#--
Template for the page that controls the updating or rebuilding of the Search Index.
-->
<h1>Search Index Status</h1>
<#if worklevel == "IDLE">
<#if hasPreviousBuild??>
<p>Previous activity completed at ${since?string("hh:mm:ss a, MMMM dd, yyyy")}</p>
</#if>
<form action="${actionUrl}" method="POST">
<input type="submit" name="update" value="Update">
Add the latest changes to the index.
<br>
<input type="submit" name="rebuild" value="Rebuild">
Start with an empty index and build it completely.
</form>
<#else>
<p>Active since ${since?string("hh:mm:ss a, MMMM dd, yyyy")}</p>
</#if>