Package com.rometools.fetcher.impl
Class LinkedHashMapFeedInfoCache
- java.lang.Object
-
- com.rometools.fetcher.impl.HashMapFeedInfoCache
-
- com.rometools.fetcher.impl.LinkedHashMapFeedInfoCache
-
- All Implemented Interfaces:
FeedFetcherCache,Serializable
@Deprecated public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache
Deprecated.ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, please have a look at our detailed explanation.An implementation of the
FeedFetcherCacheinterface.Unlike the HashMapFeedInfoCache this implementation will not grow unbound
- Author:
- Javier Kohen, Nick Lothian
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinkedHashMapFeedInfoCache()Deprecated.Constructor for HashMapFeedInfoCache
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Map<String,SyndFeedInfo>createInfoCache()Deprecated.static FeedFetcherCachegetInstance()Deprecated.Get the global instance of the cacheintgetMaxEntries()Deprecated.voidsetMaxEntries(int maxEntries)Deprecated.-
Methods inherited from class com.rometools.fetcher.impl.HashMapFeedInfoCache
clear, get, getFeedInfo, getInfoCache, put, remove, setFeedInfo, setInfoCache
-
-
-
-
Constructor Detail
-
LinkedHashMapFeedInfoCache
public LinkedHashMapFeedInfoCache()
Deprecated.Constructor for HashMapFeedInfoCache
Only use this if you want multiple instances of the cache. Usually
getInstance()is more appropriate.- See Also:
getInstance()
-
-
Method Detail
-
getInstance
public static final FeedFetcherCache getInstance()
Deprecated.Get the global instance of the cache- Returns:
- an implementation of FeedFetcherCache
-
createInfoCache
protected Map<String,SyndFeedInfo> createInfoCache()
Deprecated.- Overrides:
createInfoCachein classHashMapFeedInfoCache
-
getMaxEntries
public final int getMaxEntries()
Deprecated.
-
setMaxEntries
public final void setMaxEntries(int maxEntries)
Deprecated.
-
-