com.abiquo.api.config.DefaultExceptionHandler Class Reference

Exception handler default behavior implementation. More...

List of all members.

Public Member Functions

 DefaultExceptionHandler (Grid g)
 Instantiates a new default exception handler.
void reallocateAndRelaunch (Job jobExcepted)
 Reallocates and relaunchs behavior.
Method getCallback ()
 Gets the method "reallocateAndRelaunch" on this class to use as task callback.


Detailed Description

Exception handler default behavior implementation.

It can be used on Workflow configuration to reallocate a failed job.


Constructor & Destructor Documentation

com.abiquo.api.config.DefaultExceptionHandler.DefaultExceptionHandler ( Grid  g  ) 

Instantiates a new default exception handler.

Parameters:
g the provided grid instance


Member Function Documentation

void com.abiquo.api.config.DefaultExceptionHandler.reallocateAndRelaunch ( Job  jobExcepted  ) 

Reallocates and relaunchs behavior.

Parameters:
jobExcepted the failed job, causing this call
Todo:
assert isn't in the same node

Method com.abiquo.api.config.DefaultExceptionHandler.getCallback (  ) 

Gets the method "reallocateAndRelaunch" on this class to use as task callback.

Returns:
DefaultExceptionHandler.reallocateAndRelaunch(Job j)


The documentation for this class was generated from the following file:

Generated on Mon Sep 15 20:13:10 2008 for FrameworkAPI by  doxygen 1.5.5