org.objectweb.cjdbc.controller.recoverylog.events
Class LogRollbackEvent

java.lang.Object
  extended byorg.objectweb.cjdbc.controller.recoverylog.events.LogRequestEvent
      extended byorg.objectweb.cjdbc.controller.recoverylog.events.LogRollbackEvent
All Implemented Interfaces:
LogEvent

public class LogRollbackEvent
extends LogRequestEvent

This class defines a LogRollbackEvent to log a rollback or potentially clean the recovery log for that transaction that rollbacks.

Version:
1.0
Author:
Emmanuel Cecchet

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.controller.recoverylog.events.LogRequestEvent
logEntry
 
Constructor Summary
LogRollbackEvent(LogEntry entry)
          Creates a new LogRollbackEvent object
 
Method Summary
 void execute(LoggerThread loggerThread)
          Called by the LoggerThread to perform the needed operation on the log for this entry.
 
Methods inherited from class org.objectweb.cjdbc.controller.recoverylog.events.LogRequestEvent
belongToTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogRollbackEvent

public LogRollbackEvent(LogEntry entry)
Creates a new LogRollbackEvent object

Parameters:
entry - a log entry that describes a rollback (the SQL query is ignored)
Method Detail

execute

public void execute(LoggerThread loggerThread)
Description copied from interface: LogEvent
Called by the LoggerThread to perform the needed operation on the log for this entry.

Specified by:
execute in interface LogEvent
Overrides:
execute in class LogRequestEvent
See Also:
LogEvent.execute(org.objectweb.cjdbc.controller.recoverylog.LoggerThread)


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.