Package com.opensymphony.oscache.general

Examples of com.opensymphony.oscache.general.GeneralCacheAdministrator.flushGroup()


                    return;
                  }

              RequestAnalyser.getRequestAnalyser().registerComponentStatistics("Getting lock for flushGroup in " + cacheName, t.getElapsedTime());
          */
              cacheInstance.flushGroup(group);

            //  RequestAnalyser.getRequestAnalyser().registerComponentStatistics("FlushGroup on " + cacheName, t.getElapsedTime());
          }
            /*
                finally
View Full Code Here


                      PageCacheHelper.getInstance().notify("repository_" + entityId);
                      PageCacheHelper.getInstance().notify("selectiveCacheUpdateNonApplicable");
                    }
                    else
                    {
                      cacheInstance.flushGroup("repository_" + entityId);
                      cacheInstance.flushGroup("selectiveCacheUpdateNonApplicable");                     
                    }
                   
                    /*
                    logger.info("clearing " + e.getKey() + " with group " + "repository_" + entityId);
View Full Code Here

                      PageCacheHelper.getInstance().notify("selectiveCacheUpdateNonApplicable");
                    }
                    else
                    {
                      cacheInstance.flushGroup("repository_" + entityId);
                      cacheInstance.flushGroup("selectiveCacheUpdateNonApplicable");                     
                    }
                   
                    /*
                    logger.info("clearing " + e.getKey() + " with group " + "repository_" + entityId);
                    if(cacheName.equals("pageCacheExtra"))
View Full Code Here

                        //clearFileCacheForGroup(cacheInstance, "siteNodeVersion_" + entityId);
                        //clearFileCacheForGroup(cacheInstance, "selectiveCacheUpdateNonApplicable");
                      }
                      else
                      {
                        cacheInstance.flushGroup("siteNodeVersion_" + entityId);
                        cacheInstance.flushGroup("selectiveCacheUpdateNonApplicable");
                      }
                      logger.info("clearing " + e.getKey() + " with group " + "siteNodeVersion_" + entityId);
                     
                      try
View Full Code Here

                        //clearFileCacheForGroup(cacheInstance, "selectiveCacheUpdateNonApplicable");
                      }
                      else
                      {
                        cacheInstance.flushGroup("siteNodeVersion_" + entityId);
                        cacheInstance.flushGroup("selectiveCacheUpdateNonApplicable");
                      }
                      logger.info("clearing " + e.getKey() + " with group " + "siteNodeVersion_" + entityId);
                     
                      try
                      {
View Full Code Here

                            PageCacheHelper.getInstance().notify("siteNode_" + siteNodeId);
                            //clearFileCacheForGroup(cacheInstance, "siteNode_" + siteNodeId);
                          }
                          else
                          {
                            cacheInstance.flushGroup("siteNode_" + siteNodeId);
                            cacheInstance.flushGroup("" + siteNodeId);
                          }
                         
                          if(siteNodeId != null && (cacheName.equals("childSiteNodesCache") || cacheName.equals("childPagesCache") || cacheName.equals("siteNodeCache") || cacheName.equals("componentPropertyCacheRepoGroups") || cacheName.equals("componentPropertyVersionIdCacheRepoGroups")))
                          {
View Full Code Here

                            //clearFileCacheForGroup(cacheInstance, "siteNode_" + siteNodeId);
                          }
                          else
                          {
                            cacheInstance.flushGroup("siteNode_" + siteNodeId);
                            cacheInstance.flushGroup("" + siteNodeId);
                          }
                         
                          if(siteNodeId != null && (cacheName.equals("childSiteNodesCache") || cacheName.equals("childPagesCache") || cacheName.equals("siteNodeCache") || cacheName.equals("componentPropertyCacheRepoGroups") || cacheName.equals("componentPropertyVersionIdCacheRepoGroups")))
                          {
                            if(cacheName.equals("componentPropertyCacheRepoGroups") || cacheName.equals("componentPropertyVersionIdCacheRepoGroups"))
View Full Code Here

                         
                          if(siteNodeId != null && (cacheName.equals("childSiteNodesCache") || cacheName.equals("childPagesCache") || cacheName.equals("siteNodeCache") || cacheName.equals("componentPropertyCacheRepoGroups") || cacheName.equals("componentPropertyVersionIdCacheRepoGroups")))
                          {
                            if(cacheName.equals("componentPropertyCacheRepoGroups") || cacheName.equals("componentPropertyVersionIdCacheRepoGroups"))
                            {
                              cacheInstance.flushGroup("" + repositoryId);
                              logger.info("Clearing componentPropertyCacheRepoGroups for repo:" + repositoryId);
                            }
                            if(parentSiteNodeId != null)
                            {
                              cacheInstance.flushGroup("siteNode_" + parentSiteNodeId);
View Full Code Here

                              cacheInstance.flushGroup("" + repositoryId);
                              logger.info("Clearing componentPropertyCacheRepoGroups for repo:" + repositoryId);
                            }
                            if(parentSiteNodeId != null)
                            {
                              cacheInstance.flushGroup("siteNode_" + parentSiteNodeId);
                              cacheInstance.flushGroup("" + parentSiteNodeId);
                              cacheInstance.flushEntry("" + parentSiteNodeId);
                              logger.info("Clearing for:" + parentSiteNodeId);
                            }
                          }
View Full Code Here

                              logger.info("Clearing componentPropertyCacheRepoGroups for repo:" + repositoryId);
                            }
                            if(parentSiteNodeId != null)
                            {
                              cacheInstance.flushGroup("siteNode_" + parentSiteNodeId);
                              cacheInstance.flushGroup("" + parentSiteNodeId);
                              cacheInstance.flushEntry("" + parentSiteNodeId);
                              logger.info("Clearing for:" + parentSiteNodeId);
                            }
                          }
                         
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.