bitronix.tm.timer
Class RecoveryTask

java.lang.Object
  extended by bitronix.tm.timer.Task
      extended by bitronix.tm.timer.RecoveryTask
All Implemented Interfaces:
Comparable<Task>

public class RecoveryTask
extends Task

This task is used to run the background recovery.

Author:
lorban

Constructor Summary
RecoveryTask(Recoverer recoverer, Date executionTime, TaskScheduler scheduler)
           
 
Method Summary
 void execute()
           
 Object getObject()
           
 String toString()
           
 
Methods inherited from class bitronix.tm.timer.Task
compareTo, getExecutionTime, getTaskScheduler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecoveryTask

public RecoveryTask(Recoverer recoverer,
                    Date executionTime,
                    TaskScheduler scheduler)
Method Detail

getObject

public Object getObject()
Specified by:
getObject in class Task

execute

public void execute()
             throws TaskException
Specified by:
execute in class Task
Throws:
TaskException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2013 Bitronix Software. All Rights Reserved.