|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jtaglib.RssCacheManager
public class RssCacheManager
Manager class used to cache RssChannel instance.
Field Summary | |
---|---|
static String |
REVISION
|
Constructor Summary | |
---|---|
RssCacheManager()
|
Method Summary | |
---|---|
static void |
clearAll()
Clear the cache from all RssChannel. |
static RssChannel |
getRssChannel(String id)
Retrieve a cached RssChannel from its id. |
static RssChannel |
putRssChannel(String id,
RssChannel rssChannel)
Cache a RssChannel. |
static RssChannel |
removeRssChannel(String id)
Remove a cached RssChannel from its id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
Constructor Detail |
---|
public RssCacheManager()
Method Detail |
---|
public static RssChannel putRssChannel(String id, RssChannel rssChannel)
id
- the unique id of the RssChannelrssChannel
- the RssChannel instance to cache
public static RssChannel getRssChannel(String id)
id
- the id of the RssChannel
public static RssChannel removeRssChannel(String id)
id
- the id of the RssChannel
public static void clearAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |