Class Cache

java.lang.Object
com.priint.pubserver.util.Cache

public class Cache extends Object

Class use as temporary solution for caching icons and previews of media assets.

In the future we will use JCache to store such objects

  • previewsCache is used in ImageUtils
  • iconsCache was used in /Globals servlet in PubServerKernel project
  • See Also:
    • Field Details

      • iconsCache

        public static final Map<String,byte[]> iconsCache
        Cache for icons (used in an entity model)
      • previewsCache

        public static final Map<String,byte[]> previewsCache
        Cache for previews of media assets