public class RssCacheManager
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
REVISION  | 
| Constructor and Description | 
|---|
RssCacheManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
clearAll()
Clear the cache from all RssChannel. 
 | 
static RssChannel | 
getRssChannel(java.lang.String id)
Retrieve a cached RssChannel from its id. 
 | 
static RssChannel | 
putRssChannel(java.lang.String id,
             RssChannel rssChannel)
Cache a RssChannel. 
 | 
static RssChannel | 
removeRssChannel(java.lang.String id)
Remove a cached RssChannel from its id. 
 | 
public static final java.lang.String REVISION
public static RssChannel putRssChannel(java.lang.String id, RssChannel rssChannel)
id - the unique id of the RssChannelrssChannel - the RssChannel instance to cachepublic static RssChannel getRssChannel(java.lang.String id)
id - the id of the RssChannelpublic static RssChannel removeRssChannel(java.lang.String id)
id - the id of the RssChannelpublic static void clearAll()
Copyright © 2001-2018 Jalios SA. All Rights Reserved.