-
public interface UrlPoolThe url pool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classUrlPool.Companion
-
Method Summary
Modifier and Type Method Description abstract Unitinitialize()abstract Booleanadd(String url, Priority13 priority)abstract Booleanadd(UrlAware url)abstract BooleanaddAll(Iterable<String> urls, Priority13 priority)abstract BooleanaddAll(Iterable<UrlAware> urls)abstract UnitremoveDeceased()abstract Unitclear()abstract BooleanhasMore()abstract UrlCachegetRealTimeCache()The real time fetch cache, real time tasks have the highest priority abstract Queue<DelayUrl>getDelayCache()The delayed fetch cache abstract Map<Integer, UrlCache>getOrderedCaches()The ordered fetch caches abstract List<UrlCache>getUnorderedCaches()The unordered fetch caches, tasks in unordered caches have the lowest priority abstract IntegergetTotalItems()Total number of items in all url caches abstract UrlCachegetLowestCache()abstract UrlCachegetLower5Cache()abstract UrlCachegetLower4Cache()abstract UrlCachegetLower3Cache()abstract UrlCachegetLower2Cache()abstract UrlCachegetLowerCache()abstract UrlCachegetNormalCache()abstract UrlCachegetHigherCache()abstract UrlCachegetHigher2Cache()abstract UrlCachegetHigher3Cache()abstract UrlCachegetHigher4Cache()abstract UrlCachegetHigher5Cache()abstract UrlCachegetHighestCache()-
-
Method Detail
-
initialize
abstract Unit initialize()
-
add
abstract Boolean add(String url, Priority13 priority)
-
addAll
abstract Boolean addAll(Iterable<String> urls, Priority13 priority)
-
removeDeceased
abstract Unit removeDeceased()
-
getRealTimeCache
abstract UrlCache getRealTimeCache()
The real time fetch cache, real time tasks have the highest priority
-
getDelayCache
abstract Queue<DelayUrl> getDelayCache()
The delayed fetch cache
-
getOrderedCaches
abstract Map<Integer, UrlCache> getOrderedCaches()
The ordered fetch caches
-
getUnorderedCaches
abstract List<UrlCache> getUnorderedCaches()
The unordered fetch caches, tasks in unordered caches have the lowest priority
-
getTotalItems
abstract Integer getTotalItems()
Total number of items in all url caches
-
getLowestCache
abstract UrlCache getLowestCache()
-
getLower5Cache
abstract UrlCache getLower5Cache()
-
getLower4Cache
abstract UrlCache getLower4Cache()
-
getLower3Cache
abstract UrlCache getLower3Cache()
-
getLower2Cache
abstract UrlCache getLower2Cache()
-
getLowerCache
abstract UrlCache getLowerCache()
-
getNormalCache
abstract UrlCache getNormalCache()
-
getHigherCache
abstract UrlCache getHigherCache()
-
getHigher2Cache
abstract UrlCache getHigher2Cache()
-
getHigher3Cache
abstract UrlCache getHigher3Cache()
-
getHigher4Cache
abstract UrlCache getHigher4Cache()
-
getHigher5Cache
abstract UrlCache getHigher5Cache()
-
getHighestCache
abstract UrlCache getHighestCache()
-
-
-
-