org.objectweb.cjdbc.controller.recoverylog.events
Class LogEntry
java.lang.Object
org.objectweb.cjdbc.controller.recoverylog.events.LogEntry
- All Implemented Interfaces:
- java.io.Serializable
- public class LogEntry
- extends java.lang.Object
- implements java.io.Serializable
This class defines a recovery log entry that needs to be stored in the
recovery database. This is also sent over the wire between controllers, when
copying recovery log entries to a remote controller (copyLogFromCheckpoint).
- Version:
- 1.0
- Author:
- Emmanuel Cecchet
- See Also:
- Serialized Form
Constructor Summary |
LogEntry(long id,
java.lang.String login,
java.lang.String query,
long tid,
boolean escapeProcessing)
Create a log object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
tid
private long tid
query
private java.lang.String query
login
private java.lang.String login
id
private long id
escapeProcessing
private boolean escapeProcessing
LogEntry
public LogEntry(long id,
java.lang.String login,
java.lang.String query,
long tid,
boolean escapeProcessing)
- Create a log object.
- Parameters:
id
- unique request idlogin
- login used for this requestquery
- query to logtid
- transaction id of this requestescapeProcessing
- true if escape processing must be done
getId
public long getId()
- Returns:
- the request id
getLogin
public java.lang.String getLogin()
- Returns:
- the login used for this request
getQuery
public java.lang.String getQuery()
- Returns:
- the request itself
getTid
public long getTid()
- Returns:
- the transaction id
getEscapeProcessing
public boolean getEscapeProcessing()
- Returns:
- true if escape processing is needed
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.