Skip to content
Snippets Groups Projects
Commit 4964f607 authored by pkupczyk's avatar pkupczyk
Browse files

SSDM-3768 : forgotten change

SVN: 37175
parent c884b5bd
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,12 @@ public class MaintenancePlugin
}
}
public synchronized void execute()
{
final MaintenanceTimerTask timerTask = new MaintenanceTimerTask();
timerTask.doRun();
}
public synchronized void shutdown()
{
if (workerTimer != null)
......@@ -138,6 +144,12 @@ public class MaintenancePlugin
{
return;
}
doRun();
}
private void doRun()
{
acquireLockIfNecessary();
try
{
......@@ -150,7 +162,6 @@ public class MaintenancePlugin
{
releaseLockIfNecessay();
}
}
private void acquireLockIfNecessary()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment