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

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

public class UnlogRequestEvent
extends java.lang.Object
implements LogEvent

This class defines a UnlogRequestEvent to unlog a request log entry.

Version:
1.0
Author:
Emmanuel Cecchet

Field Summary
private  LogEntry logEntry
           
 
Constructor Summary
UnlogRequestEvent(LogEntry entry)
          Creates a new UnlogRequestEvent object
 
Method Summary
 boolean belongToTransaction(long tid)
          Returns true if this logEvent belongs to the given transaction.
 void execute(LoggerThread loggerThread)
          Called by the LoggerThread to perform the needed operation on the log for this entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logEntry

private LogEntry logEntry
Constructor Detail

UnlogRequestEvent

public UnlogRequestEvent(LogEntry entry)
Creates a new UnlogRequestEvent object

Parameters:
entry - the log entry to use (not null)
Method Detail

belongToTransaction

public boolean belongToTransaction(long tid)
Description copied from interface: LogEvent
Returns true if this logEvent belongs to the given transaction.

Specified by:
belongToTransaction in interface LogEvent
Parameters:
tid - the transaction identifier
Returns:
true if this logEvent belongs to this transaction
See Also:
LogEvent.belongToTransaction(long)

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
Parameters:
loggerThread - the logger thread calling this method
See Also:
LogEvent.execute(org.objectweb.cjdbc.controller.recoverylog.LoggerThread)


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