Dekoh platform API

dekoh.portal.syndication.aggregator.core
Class FeedRetriever

java.lang.Object
  extended by dekoh.portal.syndication.aggregator.core.FeedRetriever

public class FeedRetriever
extends Object

FeedRetriever is a ThreadPool based feed retriver. It executes jobs to download feeds for aggregators.
Once the download job for an aggregator is completed submits the aggregated items to FeedConsumer which will aggregated these items.

Since:
Oct 23, 2007

Nested Class Summary
 class FeedRetriever.DownloadedItem
          Represents the result of dowloading Feed from a SubscriptionItem.
 class FeedRetriever.DownloadTask
          Downloads the rss/atom feed that the given SubscriptionItem item represents.
 
Method Summary
 void shutdown()
           
 void submit(AggregatorImpl aggregator)
          Once submited SubscriptionItem in the supplied aggregator will be downloaded by the thread pool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

submit

public void submit(AggregatorImpl aggregator)
Once submited SubscriptionItem in the supplied aggregator will be downloaded by the thread pool. If there are more items added to SubscriptionList after the aggregator has been submited, they will be aggregated only in the next cycle

Parameters:
aggregator - SubscriptionItems of thos aggregator will be downloaded

shutdown

public void shutdown()

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers