Package java.util

Examples of java.util.Map.flushGroup()


                        logger.warn("Could not find content type to clear pages based on: " + e2.getMessage(), e2);
                    }
                    }
                    else
                    {
                      cacheInstance.flushGroup("" + contentId);
                      cacheInstance.flushGroup("content_" + contentId);
                      logger.info("clearing " + e.getKey() + " with selectiveCacheUpdateNonApplicable");
                      cacheInstance.flushGroup("selectiveCacheUpdateNonApplicable");
                    }
View Full Code Here


                    }
                    }
                    else
                    {
                      cacheInstance.flushGroup("" + contentId);
                      cacheInstance.flushGroup("content_" + contentId);
                      logger.info("clearing " + e.getKey() + " with selectiveCacheUpdateNonApplicable");
                      cacheInstance.flushGroup("selectiveCacheUpdateNonApplicable");
                    }

                    logger.info("clearing " + e.getKey() + " with group " + "content_" + entityId);
View Full Code Here

                    else
                    {
                      cacheInstance.flushGroup("" + contentId);
                      cacheInstance.flushGroup("content_" + contentId);
                      logger.info("clearing " + e.getKey() + " with selectiveCacheUpdateNonApplicable");
                      cacheInstance.flushGroup("selectiveCacheUpdateNonApplicable");
                    }

                    logger.info("clearing " + e.getKey() + " with group " + "content_" + entityId);
                }
                  else if(selectiveCacheUpdate && entity.indexOf("Publication") > 0 && useSelectivePageCacheUpdate && (operatingMode != null && operatingMode.equalsIgnoreCase("3")) && CmsPropertyHandler.getLivePublicationThreadClass().equalsIgnoreCase("org.infoglue.deliver.util.SelectiveLivePublicationThread"))
View Full Code Here

                       
                      ContentCategoryVO contentCategoryVO = ContentCategoryController.getController().findById(new Integer(entityId));
                      ContentVersionVO contentVersionVO = ContentVersionController.getContentVersionController().getContentVersionVOWithId(contentCategoryVO.getContentVersionId());
                      ContentVO contentVO = ContentController.getContentController().getContentVOWithId(contentVersionVO.getContentId());
                      String contentTypeDefinitionId = "" + contentVO.getContentTypeDefinitionId();
                      cacheInstance.flushGroup("selectiveCacheUpdateNonApplicable_contentTypeDefinitionId_" + contentTypeDefinitionId);
                      cacheInstance.putInCache("recacheMark_" + contentTypeDefinitionId, "" + System.currentTimeMillis());
                      cacheInstance.putInCache("recacheMark", "" + System.currentTimeMillis());
                    }
                    catch (Exception e2)
                    {
View Full Code Here

                    logger.info("Special handling componentEditorVersionIdCache");
                    String contentId = sentContentId;
                    if(contentId == null || contentId.equals(""))
                      contentId = ""+ContentVersionController.getContentVersionController().getContentIdForContentVersion(new Integer(entityId));

                    cacheInstance.flushGroup("content_" + contentId);
                    cacheInstance.flushGroup("contentVersion_" + entityId);
                  }
                  else if((cacheName.equalsIgnoreCase("componentEditorCache") ||
                      cacheName.equalsIgnoreCase("componentPropertyCache") ||
                      cacheName.equalsIgnoreCase("componentPropertyVersionIdCache") ||
View Full Code Here

                    String contentId = sentContentId;
                    if(contentId == null || contentId.equals(""))
                      contentId = ""+ContentVersionController.getContentVersionController().getContentIdForContentVersion(new Integer(entityId));

                    cacheInstance.flushGroup("content_" + contentId);
                    cacheInstance.flushGroup("contentVersion_" + entityId);
                  }
                  else if((cacheName.equalsIgnoreCase("componentEditorCache") ||
                      cacheName.equalsIgnoreCase("componentPropertyCache") ||
                      cacheName.equalsIgnoreCase("componentPropertyVersionIdCache") ||
                      cacheName.equalsIgnoreCase("pageComponentsCache"))
View Full Code Here

                    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

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.