| org.continuent.sequoia.controller.recoverylog.events.LogEvent
All known Subclasses: org.continuent.sequoia.controller.recoverylog.events.LogRequestCompletionEvent, org.continuent.sequoia.controller.recoverylog.events.DeleteLogEntriesAndCheckpointBetweenEvent, org.continuent.sequoia.controller.recoverylog.events.LogRequestEvent, org.continuent.sequoia.controller.recoverylog.events.FindLastIdEvent, org.continuent.sequoia.controller.recoverylog.events.FindRollbackEvent, org.continuent.sequoia.controller.recoverylog.events.StoreCheckpointWithLogIdEvent, org.continuent.sequoia.controller.recoverylog.events.FindCommitEvent, org.continuent.sequoia.controller.recoverylog.events.GetNumberOfLogEntriesEvent, org.continuent.sequoia.controller.recoverylog.events.RemoveCheckpointEvent, org.continuent.sequoia.controller.recoverylog.events.GetUpdateCountEvent, org.continuent.sequoia.controller.recoverylog.events.ShiftLogEntriesEvent, org.continuent.sequoia.controller.recoverylog.events.GetCheckpointLogEntryEvent, org.continuent.sequoia.controller.recoverylog.events.ShutdownLogEvent, org.continuent.sequoia.controller.recoverylog.events.GetAllBeginLoggedAfterIdEvent, org.continuent.sequoia.controller.recoverylog.events.GetCheckpointLogIdEvent, org.continuent.sequoia.controller.recoverylog.events.ResetLogEvent, org.continuent.sequoia.controller.recoverylog.events.FindClosePersistentConnectionEvent,
LogEvent | public interface LogEvent (Code) | | This interface defines a LogEvent that defines the profile of actions that
manipulate the recovery log like logging a request.
author: Emmanuel Cecchet version: 1.0 |
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. |
belongToTransaction | boolean belongToTransaction(long tid)(Code) | | Returns true if this logEvent belongs to the given transaction.
Parameters: tid - the transaction identifier true if this logEvent belongs to this transaction |
execute | void execute(LoggerThread loggerThread)(Code) | | Called by the LoggerThread to perform the needed operation on the log for
this entry.
Parameters: loggerThread - the logger thread calling this method |
|
|