org.objectweb.cjdbc.controller.recoverylog.events
Interface LogEvent

All Known Implementing Classes:
LogRequestEvent, ResetLogEvent, StoreDumpCheckpointEvent, UnlogRequestEvent

public interface LogEvent

This interface defines a LogEvent that defines the profile of actions that manipulate the recovery log like logging a request.

Version:
1.0
Author:
Emmanuel Cecchet

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.
 

Method Detail

belongToTransaction

public boolean belongToTransaction(long tid)
Returns true if this logEvent belongs to the given transaction.

Parameters:
tid - the transaction identifier
Returns:
true if this logEvent belongs to this transaction

execute

public void execute(LoggerThread loggerThread)
Called by the LoggerThread to perform the needed operation on the log for this entry.

Parameters:
loggerThread - the logger thread calling this method


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