Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsClientImpl.java14
1 files changed, 11 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsClientImpl.java b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsClientImpl.java
index 5400a7ae55a..148694ecfd3 100644
--- a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsClientImpl.java
+++ b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsClientImpl.java
@@ -299,9 +299,17 @@ public class AtsClientImpl extends AtsCoreServiceImpl implements IAtsClient {
@Override
public void reloadAllCaches() throws OseeCoreException {
- reloadConfigCache();
- reloadWorkDefinitionCache();
- getUserService().clearCache();
+ Job job = new Job("Reload ATS Caches") {
+
+ @Override
+ protected IStatus run(IProgressMonitor monitor) {
+ reloadConfigCache();
+ reloadWorkDefinitionCache();
+ getUserService().clearCache();
+ return Status.OK_STATUS;
+ }
+ };
+ Jobs.startJob(job);
}
@Override

Back to the top