|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rometools.fetcher.impl.HashMapFeedInfoCache
org.rometools.fetcher.impl.LinkedHashMapFeedInfoCache
public class LinkedHashMapFeedInfoCache
An implementation of the FeedFetcherCache
interface.
Unlike the HashMapFeedInfoCache this implementation will not grow unbound
Constructor Summary | |
---|---|
LinkedHashMapFeedInfoCache()
Constructor for HashMapFeedInfoCache Only use this if you want multiple instances of the cache. |
Method Summary | |
---|---|
protected Map |
createInfoCache()
|
static FeedFetcherCache |
getInstance()
Get the global instance of the cache |
int |
getMaxEntries()
|
void |
setMaxEntries(int maxEntries)
|
Methods inherited from class org.rometools.fetcher.impl.HashMapFeedInfoCache |
---|
clear, get, getFeedInfo, getInfoCache, put, remove, setFeedInfo, setInfoCache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkedHashMapFeedInfoCache()
Constructor for HashMapFeedInfoCache
Only use this if you want multiple instances of the cache.
Usually getInstance()
is more appropriate.
getInstance()
Method Detail |
---|
public static final FeedFetcherCache getInstance()
protected Map createInfoCache()
createInfoCache
in class HashMapFeedInfoCache
public final int getMaxEntries()
public final void setMaxEntries(int maxEntries)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |