Class RssAggregatorCache
java.lang.Object
org.silverpeas.components.rssaggregator.service.RssAggregatorCache
- Author:
- sv
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddChannelToCache(SPChannel spChannel) Add or replace a content in the cacheGet a cached content.static RssAggregatorCacheGet an instance of RssAggregatorCachebooleanvoid
-
Method Details
-
getInstance
Get an instance of RssAggregatorCache -
getChannelFromCache
Get a cached content. If content is not cached, return null. -
addChannelToCache
Add or replace a content in the cache -
removeChannelFromCache
- Parameters:
key- of the channel to remove from the cache
-
isContentNeedToRefresh
- Returns:
- true if a cached content need to be updated or a content is not cached.
-