Interface TxnLog.TxnIterator

  • All Known Implementing Classes:
    FileTxnLog.FileTxnIterator
    Enclosing interface:
    TxnLog

    public static interface TxnLog.TxnIterator
    an iterating interface for reading transaction logs.
    • Method Detail

      • getHeader

        TxnHeader getHeader()
        return the transaction header.
        Returns:
        return the transaction header.
      • getTxn

        org.apache.jute.Record getTxn()
        return the transaction record.
        Returns:
        return the transaction record.
      • next

        boolean next()
              throws java.io.IOException
        go to the next transaction record.
        Throws:
        java.io.IOException
      • close

        void close()
            throws java.io.IOException
        close files and release the resources
        Throws:
        java.io.IOException