Package org.apache.roller.planet.business.updater

Examples of org.apache.roller.planet.business.updater.SingleThreadedFeedUpdater


   
    public void runTask() {
        try {
            log.info("Refreshing Planet subscriptions");
           
            FeedUpdater updater = new SingleThreadedFeedUpdater();
            updater.updateSubscriptions();
           
        } catch (Throwable t) {
            log.error("ERROR refreshing planet", t);
        } finally {
            // always release
View Full Code Here


       
        PlanetManager mgr = PlanetFactory.getPlanet().getPlanetManager();
        Subscription sub = mgr.getSubscriptionById(testSub.getId());
       
        // update the subscription
        FeedUpdater updater = new SingleThreadedFeedUpdater();
        updater.updateSubscription(sub);
        TestUtils.endSession(true);
       
        // verify the results
        sub = mgr.getSubscription(feed_url);
        assertNotNull(sub);
View Full Code Here

   
    public void run() {
        try {           
            // Update all feeds in planet
            log.info("Refreshing Planet entries");
            FeedUpdater updater = new SingleThreadedFeedUpdater();
            updater.updateSubscriptions();
            PlanetFactory.getPlanet().release();
           
        } catch (Exception e) {
            log.error("ERROR refreshing planet", e);
        }
View Full Code Here

   
    public void runTask() {
        try {
            log.info("Refreshing Planet subscriptions");
           
            FeedUpdater updater = new SingleThreadedFeedUpdater();
            updater.updateSubscriptions();
           
        } catch (Throwable t) {
            log.error("ERROR refreshing planet", t);
        } finally {
            // always release
View Full Code Here

TOP

Related Classes of org.apache.roller.planet.business.updater.SingleThreadedFeedUpdater

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.