public static class Management.JournalInfo extends Management.AcquisitionTimeBase
Constructor and Description |
---|
JournalInfo() |
JournalInfo(String currentJournalFile,
long currentJournalAddress,
long blockSize,
int pageMapSize,
long currentGeneration,
long baseAddress,
long lastValidCheckpointTimestamp,
long lastValidCheckpointSystemTime,
String lastValidCheckpointJournalFile,
long lastValidCheckpointJournalAddress,
String recoveryJournalFile,
long recoveryJournalAddress,
long recoveryStatus,
long journaledPageCount,
long readPageCount,
long copiedPageCount,
long droppedPageCount,
int recoveredCommittedTransactions,
int recoveredAppliedTransactions,
boolean closed,
boolean copying,
boolean flushing,
boolean appendOnly,
boolean fastCopying) |
Modifier and Type | Method and Description |
---|---|
long |
getBaseAddress()
Base address is the journal address of the first record required for
recovery.
|
long |
getBlockSize()
Maximum size of one journal file
|
long |
getCopiedPageCount() |
long |
getCurrentJournalAddress() |
String |
getCurrentJournalFile() |
long |
getDroppedPageCount() |
long |
getJournaledPageCount() |
long |
getLastValidCheckpointAge()
Convenience method to return the elapsed time since the last valid
checkpoint was written.
|
long |
getLastValidCheckpointJournalAddress() |
String |
getLastValidCheckpointJournalFile() |
long |
getLastValidCheckpointSystemTime() |
long |
getLastValidCheckpointTimestamp() |
int |
getPageMapSize() |
long |
getReadPageCount() |
int |
getRecoveredCommittedTransactions() |
int |
getRecoveredCompletedTransactions() |
long |
getRecoveryJournalAddress()
Address within journal file currently being recovered during startup.
|
String |
getRecoveryJournalFile()
The current journal file being recovered during startup.
|
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.
|
boolean |
isAppendOnly()
The appendOnly flag suspends copying of pages to their Volume files.
|
boolean |
isClosed() |
boolean |
isCopying() |
boolean |
isFastCopying() |
boolean |
isFlushing() |
getAcquisitionTime, setAcquisitionTime
public JournalInfo()
@ConstructorProperties(value={"currentJournalFile","currentJournalAddress","blockSize","pageMapSize","currentGeneration","baseAddress","lastValidCheckpointTimestamp","lastValidCheckpointSystemTime","lastValidCheckpointJournalFile","lastValidCheckpointJournalAddress","recoveryJournalFile","recoveryJournalAddress","recoveryStatus","journaledPageCount","readPageCount","copiedPageCount","droppedPageCount","recoveredCommittedTransactions","recoveredAppliedTransactions","closed","copying","flushing","appendOnly","fastCopying"}) public JournalInfo(String currentJournalFile, long currentJournalAddress, long blockSize, int pageMapSize, long currentGeneration, long baseAddress, long lastValidCheckpointTimestamp, long lastValidCheckpointSystemTime, String lastValidCheckpointJournalFile, long lastValidCheckpointJournalAddress, String recoveryJournalFile, long recoveryJournalAddress, long recoveryStatus, long journaledPageCount, long readPageCount, long copiedPageCount, long droppedPageCount, int recoveredCommittedTransactions, int recoveredAppliedTransactions, boolean closed, boolean copying, boolean flushing, boolean appendOnly, boolean fastCopying)
public String getCurrentJournalFile()
public long getCurrentJournalAddress()
public long getBlockSize()
public int getPageMapSize()
public long getBaseAddress()
public long getLastValidCheckpointTimestamp()
public long getLastValidCheckpointSystemTime()
public long getLastValidCheckpointAge()
public String getLastValidCheckpointJournalFile()
public long getLastValidCheckpointJournalAddress()
public String getRecoveryJournalFile()
public long getRecoveryJournalAddress()
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 long getJournaledPageCount()
public long getCopiedPageCount()
public long getDroppedPageCount()
public long getReadPageCount()
public int getRecoveredCompletedTransactions()
public int getRecoveredCommittedTransactions()
public boolean isClosed()
true
iff the journal has been closedpublic boolean isCopying()
true
iff the JOURNALCOPIER task is currently
copying pages to their Volume files.public boolean isFlushing()
true
iff the JOURNALFLUSHER task is currently
forcing file modifications to disk.public boolean isAppendOnly()
true
if the appendOnly flag is set.public boolean isFastCopying()
true
if fast page copying is enabled. Fast
copying copies pages as fast as possible without regard to
disk utilization.Copyright © 2025 Open Identity Platform Community. All rights reserved.