001    /**
002     * Copyright (C) 2010, FuseSource Corp.  All rights reserved.
003     */
004    package org.fusesource.hawtdispatch;
005    
006    /**
007     * <p>
008     *  We prefer the use of Task over Runnable since the
009     *  JVM can more efficiently invoke methods of
010     *  an abstract class than a interface.
011     * </p>
012     *
013     * @author <a href="http://hiramchirino.com">Hiram Chirino</a>
014     */
015    public abstract class Task implements Runnable {
016        abstract public void run();
017    }