SessionState

The session state contains information about when was the last commit of a session. It is only used during recovery.

Methods
boolean isCommitted(int logId, int pos)
Check if this session state is already committed at this point.
boolean isCommitted(int logId, int pos)
Check if this session state is already committed at this point.
Parameters:
logId - the log id
pos - the position in the log
Returns:
true if it is committed
String toString()
String toString()

Fields
static PageStoreInDoubtTransaction inDoubtTransaction
static int lastCommitLog
static int lastCommitPos
static int sessionId

inDoubtTransaction

The in-doubt transaction if there is one.

lastCommitLog

The last log id where a commit for this session is found.

lastCommitPos

The position where a commit for this session is found.

sessionId

The session id