org.fusesource.hawtdispatch
Class Task

java.lang.Object
  extended by org.fusesource.hawtdispatch.Task
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
TaskWrapper

public abstract class Task
extends Object
implements Runnable

We prefer the use of Task over Runnable since the JVM can more efficiently invoke methods of an abstract class than a interface.

Author:
Hiram Chirino

Constructor Summary
Task()
           
 
Method Summary
abstract  void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Task

public Task()
Method Detail

run

public abstract void run()
Specified by:
run in interface Runnable


Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.