@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
Only use this if you want multiple instances of the cache.
|
| 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, setInfoCachepublic 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 HashMapFeedInfoCachepublic final int getMaxEntries()
public final void setMaxEntries(int maxEntries)
Copyright © 2016. All rights reserved.