getCurrentJournalOffset

getCurrentJournalOffset(currentJournal:    Integer64 output;
                        currentOffset:     Integer64 output;
                        lastSwitchJournal: Integer64 output;
                        lastSwitchOffset:  Integer64 output;
                        nominalSize:       Integer64 output);

The getCurrentJournalOffset method of the JadeDatabaseAdmin class retrieves the journal number and byte offset of the last record written to the journal in the respective currentJournal and currentOffset parameters.

The lastSwitchJournal and lastSwitchOffset parameters retrieve the respective journal number and byte offset of the last record written to the penultimate journal.

The nominalSize parameter returns the nominal size of a journal file (that is, the value of the JournalMaxSize parameter in the [PersistentDb] section of the Jade initialization file).

These values enable you to calculate amounts and rates of journal output.

Use this method in conjunction with the JadeDatabaseAdmin class sdsGetSecondaryProxy method to determine the amount of journal data that has not been sent to the secondary.