Class JournalControl

java.lang.Object
org.apache.jena.tdb1.transaction.JournalControl

public class JournalControl extends Object
  • Constructor Details

    • JournalControl

      public JournalControl()
  • Method Details

    • print

      public static void print(String filename)
      Dump a journal - debug support function - opens the journal specially - inconsistent views possible
    • print

      public static void print(Journal journal)
    • recovery

      public static void recovery(DatasetGraphTDB dsg)
      Recover a base storage DatasetGraph
    • recoverFromJournal

      public static boolean recoverFromJournal(StorageConfig sConf, Journal jrnl)
      Recovery from a journal. Find if there is a commit record; if so, replay the journal to that point. Try to see if there is another commit record ... Return true if a recovery was attempted; return false if we decided no work needed.
    • replay

      public static void replay(Transaction transaction)
    • replay

      public static void replay(Journal journal, DatasetGraphTDB dsg)
      Replay a journal onto a dataset