DelayRunnable.java :  » Widget » android-delayed » se » sandos » android » delayed » scrape » Android Open Source

Android Open Source » Widget » android delayed 
android delayed » se » sandos » android » delayed » scrape » DelayRunnable.java
package se.sandos.android.delayed.scrape;

/**
 * This class is used to "tag" background tasks that are important. We try not killing these.
 * @author John Bckstrand
 *
 */
public abstract class DelayRunnable implements Runnable
{
    public enum Importance
    {
        NORMAL, HIGH;
    }
    
    private Importance importance;
    
    public DelayRunnable(Importance imp)
    {
        importance = imp;
    }
    
    public Importance getImportance()
    {
        return importance;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.