Class RssCacheManager

java.lang.Object
com.jalios.jtaglib.RssCacheManager

public class RssCacheManager extends Object
Manager class used to cache RssChannel instance.
Since:
jcms-6.0
  • Constructor Details

    • RssCacheManager

      public RssCacheManager()
  • Method Details

    • putRssChannel

      public static RssChannel putRssChannel(String id, RssChannel rssChannel)
      Cache a RssChannel.
      Parameters:
      id - the unique id of the RssChannel
      rssChannel - the RssChannel instance to cache
      Returns:
      the previous RssChannel instance associated to this id or null if none
      Since:
      jcms-6.0
    • getRssChannel

      public static RssChannel getRssChannel(String id)
      Retrieve a cached RssChannel from its id.
      Parameters:
      id - the id of the RssChannel
      Returns:
      the cached RssChannel or null if it could not be found
      Since:
      jcms-6.0
    • removeRssChannel

      public static RssChannel removeRssChannel(String id)
      Remove a cached RssChannel from its id.
      Parameters:
      id - the id of the RssChannel
      Returns:
      the value associated to this id before removal
      Since:
      jcms-6.0
    • clearAll

      public static void clearAll()
      Clear the cache from all RssChannel.
      Since:
      jcms-6.0