public static class Management.RecoveryInfo extends Management.AcquisitionTimeBase
Constructor and Description |
---|
RecoveryInfo() |
RecoveryInfo(String keystoneJournalFile,
long keystoneJournalAddress,
long blockSize,
int pageMapSize,
long baseAddress,
long currentAddress,
long lastValidCheckpointTimestamp,
long lastValidCheckpointSystemTime,
String lastValidCheckpointJournalFile,
long lastValidCheckpointJournalAddress,
int committedTransactions,
int uncommittedTransactions,
int errorCount,
int appliedTransactions,
long recoveryStatus,
long recoveryEndAddress,
String recoveryException,
boolean copySuspended,
boolean copyFast) |
Modifier and Type | Method and Description |
---|---|
int |
getAppliedTransactions() |
long |
getBaseAddress()
Address of first record in the journal required for recovery.
|
long |
getBlockSize() |
int |
getCommittedTransactions() |
long |
getCurrentAddress()
Address within journal file from which records currently are being
scanned.
|
int |
getErrorCount() |
long |
getKeystoneJournalAddress() |
String |
getKeystoneJournalFile() |
long |
getLastValidCheckpointJournalAddress() |
String |
getLastValidCheckpointJournalFile() |
long |
getLastValidCheckpointSystemTime() |
long |
getLastValidCheckpointTimestamp() |
int |
getPageMapSize()
Number of page entries in the recovered page map
|
long |
getRecoveryEndAddress() |
String |
getRecoveryEndedException() |
long |
getRecoveryStatus()
Return one of the following values:
Long.MINVALUE
if recovery has not begun yet
-1
if recovery ended after a "dirty" (abruptly terminated) shutdown
0
if recovery completed after a "clean" (normal) shutdown
N > 0
if recovery is in progress, in which case N represents the
approximate number of remaining bytes of journal data to process.
|
int |
getUncommittedTransactions() |
getAcquisitionTime, setAcquisitionTime
public RecoveryInfo()
@ConstructorProperties(value={"keystoneJournalFile","keystoneJournalAddress","blockSize","pageMapSize","baseAddress","currentAddress","lastValidCheckpointTimestamp","lastValidCheckpointSystemTime","lastValidCheckpointJournalFile","lastValidCheckpointJournalAddress","committedTransactions","uncommittedTransactions","errorCount","appliedTransactions","recoveryStatus","recoveryEndAddress","recoveryException","copySuspended","copyFast"}) public RecoveryInfo(String keystoneJournalFile, long keystoneJournalAddress, long blockSize, int pageMapSize, long baseAddress, long currentAddress, long lastValidCheckpointTimestamp, long lastValidCheckpointSystemTime, String lastValidCheckpointJournalFile, long lastValidCheckpointJournalAddress, int committedTransactions, int uncommittedTransactions, int errorCount, int appliedTransactions, long recoveryStatus, long recoveryEndAddress, String recoveryException, boolean copySuspended, boolean copyFast)
public String getKeystoneJournalFile()
public long getKeystoneJournalAddress()
public long getBlockSize()
public int getPageMapSize()
public long getBaseAddress()
public long getLastValidCheckpointTimestamp()
public long getLastValidCheckpointSystemTime()
public String getLastValidCheckpointJournalFile()
public long getLastValidCheckpointJournalAddress()
public long getCurrentAddress()
public long getRecoveryStatus()
Long.MINVALUE | if recovery has not begun yet |
-1 | if recovery ended after a "dirty" (abruptly terminated) shutdown |
0 | if recovery completed after a "clean" (normal) shutdown |
N > 0 | if recovery is in progress, in which case N represents the approximate number of remaining bytes of journal data to process. |
public int getCommittedTransactions()
public int getUncommittedTransactions()
public int getAppliedTransactions()
public int getErrorCount()
public long getRecoveryEndAddress()
public String getRecoveryEndedException()
Copyright © 2025 Open Identity Platform Community. All rights reserved.