Examples of GlobalCacheQueryResponse


Examples of org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.GlobalCMDocumentCache.GlobalCacheQueryResponse

  public synchronized CMDocument buildCMDocument(String publicId, String resolvedURI, String type)
  {                                    
    cmDocumentCache.setStatus(resolvedURI, CMDocumentCache.STATUS_LOADING);
    boolean documentCacheable = false;
    if(globalCMDocumentCacheEnabled) {
      GlobalCacheQueryResponse response = GlobalCMDocumentCache.getInstance().getCMDocument(resolvedURI);
      CMDocument cachedCMDocument = response.getCachedCMDocument();
      documentCacheable = response.isDocumentCacheable();
      if(cachedCMDocument != null) {
        cmDocumentCache.putCMDocument(resolvedURI, cachedCMDocument);
        return cachedCMDocument;
      }
    }
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.