-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.collect.FetchCacheManager
public abstract class AbstractFetchCacheManager implements FetchCacheManager
The abstract fetch catch manager
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegertotalItemsprivate final FetchCachelowestCacheprivate final FetchCachelower5Cacheprivate final FetchCachelower4Cacheprivate final FetchCachelower3Cacheprivate final FetchCachelower2Cacheprivate final FetchCachelowerCacheprivate final FetchCachenormalCacheprivate final FetchCachehigherCacheprivate final FetchCachehigher2Cacheprivate final FetchCachehigher3Cacheprivate final FetchCachehigher4Cacheprivate final FetchCachehigher5Cacheprivate final FetchCachehighestCacheprivate final ImmutableConfigconfprivate final Map<Integer, FetchCache>orderedCachesprivate final List<FetchCache>unorderedCachesprivate final FetchCacherealTimeCacheprivate final Queue<DelayUrl>delayCache
-
Constructor Summary
Constructors Constructor Description AbstractFetchCacheManager(ImmutableConfig conf)
-
Method Summary
Modifier and Type Method Description IntegergetTotalItems()FetchCachegetLowestCache()FetchCachegetLower5Cache()FetchCachegetLower4Cache()FetchCachegetLower3Cache()FetchCachegetLower2Cache()FetchCachegetLowerCache()FetchCachegetNormalCache()FetchCachegetHigherCache()FetchCachegetHigher2Cache()FetchCachegetHigher3Cache()FetchCachegetHigher4Cache()FetchCachegetHigher5Cache()FetchCachegetHighestCache()final ImmutableConfiggetConf()abstract Map<Integer, FetchCache>getOrderedCaches()The priority fetch caches abstract List<FetchCache>getUnorderedCaches()abstract FetchCachegetRealTimeCache()abstract Queue<DelayUrl>getDelayCache()UnitremoveDeceased()-
-
Constructor Detail
-
AbstractFetchCacheManager
AbstractFetchCacheManager(ImmutableConfig conf)
-
-
Method Detail
-
getTotalItems
Integer getTotalItems()
-
getLowestCache
FetchCache getLowestCache()
-
getLower5Cache
FetchCache getLower5Cache()
-
getLower4Cache
FetchCache getLower4Cache()
-
getLower3Cache
FetchCache getLower3Cache()
-
getLower2Cache
FetchCache getLower2Cache()
-
getLowerCache
FetchCache getLowerCache()
-
getNormalCache
FetchCache getNormalCache()
-
getHigherCache
FetchCache getHigherCache()
-
getHigher2Cache
FetchCache getHigher2Cache()
-
getHigher3Cache
FetchCache getHigher3Cache()
-
getHigher4Cache
FetchCache getHigher4Cache()
-
getHigher5Cache
FetchCache getHigher5Cache()
-
getHighestCache
FetchCache getHighestCache()
-
getConf
final ImmutableConfig getConf()
-
getOrderedCaches
abstract Map<Integer, FetchCache> getOrderedCaches()
The priority fetch caches
-
getUnorderedCaches
abstract List<FetchCache> getUnorderedCaches()
-
getRealTimeCache
abstract FetchCache getRealTimeCache()
-
getDelayCache
abstract Queue<DelayUrl> getDelayCache()
-
removeDeceased
Unit removeDeceased()
-
-
-
-