Package org.ametys.plugins.syndication
Class FeedCache.FeedCacheLoader
- java.lang.Object
-
- com.google.common.cache.CacheLoader<String,FeedResult>
-
- org.ametys.plugins.syndication.FeedCache.FeedCacheLoader
-
- Enclosing class:
- FeedCache
protected class FeedCache.FeedCacheLoader extends CacheLoader<String,FeedResult>
The feed cache loader, delegates the loading to the component's loadFeed method (to be easily overridable).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
CacheLoader.InvalidCacheLoadException, CacheLoader.UnsupportedLoadingOperationException
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FeedCacheLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeedResult
load(String feedUrl)
-
Methods inherited from class com.google.common.cache.CacheLoader
asyncReloading, from, from, loadAll, reload
-
-
-
-
Constructor Detail
-
FeedCacheLoader
protected FeedCacheLoader()
-
-
Method Detail
-
load
public FeedResult load(String feedUrl) throws Exception
- Specified by:
load
in classCacheLoader<String,FeedResult>
- Throws:
Exception
-
-