org.objectweb.cjdbc.controller.recoverylog.events
Class StoreDumpCheckpointEvent
java.lang.Object
org.objectweb.cjdbc.controller.recoverylog.events.StoreDumpCheckpointEvent
- All Implemented Interfaces:
- LogEvent
- public class StoreDumpCheckpointEvent
- extends java.lang.Object
- implements LogEvent
This class is used to Store a Dump Checkpoint in the recovery log checkpoint
tables so that it is available e.g. for restore operations.
- Version:
- 1.0
- Author:
- Olivier Fambon
Constructor Summary |
StoreDumpCheckpointEvent(java.lang.String checkpointName,
long checkpointId)
Creates a new StoreDumpCheckpointEvent 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 |
checkpointId
private long checkpointId
checkpointName
private java.lang.String checkpointName
StoreDumpCheckpointEvent
public StoreDumpCheckpointEvent(java.lang.String checkpointName,
long checkpointId)
- Creates a new
StoreDumpCheckpointEvent
object
- Parameters:
checkpointName
- the checkpoint name to create.checkpointId
- the id of the checkpoint
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.