|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.rep.stream.MatchpointSearchResults
public class MatchpointSearchResults
Holds information seen by the ReplicaSyncupReader when scanning a replica's log for a matchpoint.
Nested Class Summary | |
---|---|
static class |
MatchpointSearchResults.PassedTxnInfo
|
Constructor Summary | |
---|---|
MatchpointSearchResults(EnvironmentImpl envImpl)
|
Method Summary | |
---|---|
String |
dumpPassedTxns()
Display the saved transaction information. |
MatchpointSearchResults.PassedTxnInfo |
getEarliestPassedTxn()
|
long |
getMatchpointLSN()
|
int |
getNumPassedCommits()
|
(package private) boolean |
getPassedCheckpointEnd()
|
String |
getRollbackMsg()
If 1 or more commits was passed, construct a message that can be used by RollbackException and RollbackProhibitedException. |
(package private) void |
notePassedCheckpointEnd()
If we see a checkpoint end record, see if it is a barrier to rolling back, and advance the file reader position. |
(package private) void |
notePassedCommits(Timestamp commitTime,
long txnId,
VLSN vlsn,
long lsn)
The reader saw a transaction commit. |
(package private) void |
setMatchpoint(long match)
At the end of the search for a matchpoint, set the matchpointLSN and adjust the debugging list of passed transactions. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
MatchpointSearchResults(EnvironmentImpl envImpl)
Method Detail |
---|
void notePassedCheckpointEnd()
void setMatchpoint(long match)
void notePassedCommits(Timestamp commitTime, long txnId, VLSN vlsn, long lsn)
boolean getPassedCheckpointEnd()
public long getMatchpointLSN()
public int getNumPassedCommits()
public MatchpointSearchResults.PassedTxnInfo getEarliestPassedTxn()
public String dumpPassedTxns()
public String toString()
toString
in class Object
public String getRollbackMsg()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |