org.jppf.client.loadbalancer
Class TaskWrapper

java.lang.Object
  extended by org.jppf.client.loadbalancer.TaskWrapper
All Implemented Interfaces:
Runnable

public class TaskWrapper
extends Object
implements Runnable

JPPF task wrapper used to catch unhandled exceptions.


Constructor Summary
TaskWrapper(JPPFTask task)
          Initialize this task wrapper with the specified JPPF task.
 
Method Summary
 void run()
          Run the task and handle uncaught exceptions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskWrapper

public TaskWrapper(JPPFTask task)
Initialize this task wrapper with the specified JPPF task.

Parameters:
task - the JPPF task to execute.
Method Detail

run

public void run()
Run the task and handle uncaught exceptions.

Specified by:
run in interface Runnable
See Also:
Runnable.run()


Copyright © 2005-2010 JPPF Team.