Class TagCloudCacheManager

    • Method Detail

      • addTagCloud

        public void addTagCloud​(String workspaceName,
                                String zoneItemId,
                                Object object)
        Add tag cloud in cache
        Parameters:
        workspaceName - The workspace name
        zoneItemId - The zone item id
        object - The tag cloud object itself
      • getTagCloud

        public Object getTagCloud​(String workspaceName,
                                  String zoneItemId)
        Get the tag cloud in cache or null if it is not in cache.
        Parameters:
        workspaceName - The workspace name
        zoneItemId - The zone item id
        Returns:
        The tag cloud
      • hasTagCloud

        public boolean hasTagCloud​(String workspaceName,
                                   String zoneItemId)
        Determines if the tag cloud is in cache
        Parameters:
        workspaceName - The workspace name
        zoneItemId - The zone item id
        Returns:
        true if the tag cloud is in cache
      • invalidateTagCloud

        public void invalidateTagCloud​(String zoneItemId)
        Invalid tag cloud for all workspaces
        Parameters:
        zoneItemId - the zone item id
      • invalidateCache

        public void invalidateCache()
        Invalid cache for all workspaces