Package com.opensymphony.oscache.general

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


                          Integer repositoryId = snVO.getRepositoryId();
                          Integer parentSiteNodeId = snVO.getParentSiteNodeId();
 
                          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.