Modified ThreadService & Scheduler to allow the web server to pass a delegate service such that all webapps will use one service for each function (reduction in threading and debug complexity).

This commit is contained in:
wcrisman
2014-08-30 15:43:30 -07:00
parent fba1f9f9b3
commit fa572dae03
15 changed files with 324 additions and 73 deletions

View File

@@ -79,7 +79,7 @@ public class ModelListener {
/* (non-Javadoc)
* @see com.common.thread.Scheduler.Task#evaluate()
*/
public void evaluate() {
public void run() {
Binding.ObjectReference reference = null;
//Remove all bindings for objects no longer in memory.//

View File

@@ -473,7 +473,7 @@ protected void initialize(RepositoryMetadata repositoryMetadata, IObjectAccess o
getDriverClass();
Scheduler.addTask(600000, resourceCleanupTask = new Scheduler.Task() {
public void evaluate() {
public void run() {
synchronized(JdbcRepositoryManager.this) {
long timestamp = System.currentTimeMillis();