Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-08-05 16:49:21 +0000
committerRyan D. Brooks2016-08-31 16:18:31 +0000
commitfd2836e03129da126b7449004131016676a9a644 (patch)
treee8b515631cff44be881289f5e8af99d3640d8ff4 /plugins
parentb46674b91759288afcc9790540330b9fa95393a7 (diff)
downloadorg.eclipse.osee-fd2836e03129da126b7449004131016676a9a644.tar.gz
org.eclipse.osee-fd2836e03129da126b7449004131016676a9a644.tar.xz
org.eclipse.osee-fd2836e03129da126b7449004131016676a9a644.zip
bug[ats_ATS307497]: NR Alpha - ATS Navigator startup is slow
Diffstat (limited to 'plugins')
-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