@Deprecated public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache
An implementation of the FeedFetcherCache
interface.
Unlike the HashMapFeedInfoCache this implementation will not grow unbound
Constructor and Description |
---|
LinkedHashMapFeedInfoCache()
Deprecated.
Constructor for HashMapFeedInfoCache
|
Modifier and Type | Method and Description |
---|---|
protected Map<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
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 Map<String,SyndFeedInfo> createInfoCache()
createInfoCache
in class HashMapFeedInfoCache
public final int getMaxEntries()
public final void setMaxEntries(int maxEntries)
Copyright © 2019. All rights reserved.