@Deprecated public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache
An implementation of the FeedFetcherCache
interface.
Unlike the HashMapFeedInfoCache this implementation will not grow unbound
Modifier and Type | Class and Description |
---|---|
private class |
LinkedHashMapFeedInfoCache.CacheImpl
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private static LinkedHashMapFeedInfoCache |
_instance
Deprecated.
|
private static int |
DEFAULT_MAX_ENTRIES
Deprecated.
|
private int |
maxEntries
Deprecated.
|
private static long |
serialVersionUID
Deprecated.
|
instance
Constructor and Description |
---|
LinkedHashMapFeedInfoCache()
Deprecated.
Constructor for HashMapFeedInfoCache
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,SyndFeedInfo> |
createInfoCache()
Deprecated.
|
static FeedFetcherCache |
getInstance()
Deprecated.
Get the global instance of the cache
|
int |
getMaxEntries()
Deprecated.
|
void |
setMaxEntries(int maxEntries)
Deprecated.
|
clear, get, getFeedInfo, getInfoCache, put, remove, setFeedInfo, setInfoCache
private static final int DEFAULT_MAX_ENTRIES
private static final long serialVersionUID
private static final LinkedHashMapFeedInfoCache _instance
private int maxEntries
public LinkedHashMapFeedInfoCache()
Constructor for HashMapFeedInfoCache
Only use this if you want multiple instances of the cache. Usually getInstance()
is
more appropriate.
getInstance()
public static final FeedFetcherCache getInstance()
protected java.util.Map<java.lang.String,SyndFeedInfo> createInfoCache()
createInfoCache
in class HashMapFeedInfoCache
public final int getMaxEntries()
public final void setMaxEntries(int maxEntries)