Class PageDeploymentCache


  • public class PageDeploymentCache
    extends java.lang.Object
    • Field Detail

    • Constructor Detail

      • PageDeploymentCache

        public PageDeploymentCache()
        Cache with no limit
      • PageDeploymentCache

        public PageDeploymentCache​(int limit)
        Cache which has a hard limit: no more elements will be cached than the limit.
    • Method Detail

      • getPageEntriesByAppDefinitionId

        public java.util.Map<java.lang.String,​PageDefinitionCacheEntry> getPageEntriesByAppDefinitionId​(java.lang.String appDefinitionId)
      • getPageEntry

        public PageDefinitionCacheEntry getPageEntry​(java.lang.String appDefinitionId,
                                                     java.lang.String pageDefinitionRef)
      • addPageModels

        public void addPageModels​(java.lang.String appDefinitionId,
                                  java.util.Map<java.lang.String,​PageDefinitionCacheEntry> obj)
      • removePageModels

        public void removePageModels​(java.lang.String appDefinitionId)
      • containsAppKey

        public boolean containsAppKey​(java.lang.String appDefinitionId)
      • clear

        public void clear()
      • size

        public int size()