Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.controller.recoverylog.RecoveryTask Class Reference

List of all members.

Public Member Functions

 RecoveryTask (long tid, int id, AbstractTask task)
long getTid ()
int getId ()
AbstractTask getTask ()
void setId (int id)
void setTask (AbstractTask task)

Detailed Description

Recovery task containing an AbstractTask and the id of the task in the recovery log.

Author:
Emmanuel Cecchet

Julie Marguerite

Version:
1.0

Definition at line 37 of file RecoveryTask.java.


Constructor & Destructor Documentation

org.objectweb.cjdbc.controller.recoverylog.RecoveryTask.RecoveryTask long  tid,
int  id,
AbstractTask  task
 

Constructs a new RecoveryTask instance.

Parameters:
tid transaction id
id task id in the recovery log
task task to be executed

Definition at line 50 of file RecoveryTask.java.

00051   {
00052     this.id = id;
00053     this.tid = tid;
00054     this.task = task;
00055   }


Member Function Documentation

int org.objectweb.cjdbc.controller.recoverylog.RecoveryTask.getId  ) 
 

Returns the id.

Returns:
int

Definition at line 71 of file RecoveryTask.java.

00072   {
00073     return id;
00074   }

AbstractTask org.objectweb.cjdbc.controller.recoverylog.RecoveryTask.getTask  ) 
 

Returns the task.

Returns:
AbstractTask

Definition at line 81 of file RecoveryTask.java.

00082   {
00083     return task;
00084   }

long org.objectweb.cjdbc.controller.recoverylog.RecoveryTask.getTid  ) 
 

Returns the tid value.

Returns:
Returns the tid.

Definition at line 62 of file RecoveryTask.java.

00063   {
00064     return tid;
00065   }

void org.objectweb.cjdbc.controller.recoverylog.RecoveryTask.setId int  id  ) 
 

Sets the id.

Parameters:
id the id to set

Definition at line 91 of file RecoveryTask.java.

00092   {
00093     this.id = id;
00094   }

void org.objectweb.cjdbc.controller.recoverylog.RecoveryTask.setTask AbstractTask  task  ) 
 

Sets the task.

Parameters:
task the task to set

Definition at line 101 of file RecoveryTask.java.

00102   {
00103     this.task = task;
00104   }


The documentation for this class was generated from the following file:
Generated on Mon Apr 11 22:04:23 2005 for C-JDBC by  doxygen 1.3.9.1