|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.log.SessionState
public class SessionState
The session state contains information about when was the last commit of a session. It is only used during recovery.
Field Summary | |
---|---|
InDoubtTransaction |
inDoubtTransaction
The in-doubt transaction if there is one. |
int |
lastCommitLog
The last log file id where a commit for this session is found. |
int |
lastCommitPos
The position where a commit for this session is found. |
int |
sessionId
The session id |
Constructor Summary | |
---|---|
SessionState()
|
Method Summary | |
---|---|
boolean |
isCommitted(int logId,
int pos)
Check if this session state is already committed at this point. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int sessionId
public int lastCommitLog
public int lastCommitPos
public InDoubtTransaction inDoubtTransaction
Constructor Detail |
---|
public SessionState()
Method Detail |
---|
public boolean isCommitted(int logId, int pos)
logId
- the log file idpos
- the position in the log file
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |