Class Transaction


  • public class Transaction
    extends Object
    A logical database transaction
    Author:
    Chris Cranford
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • transactionId

        private String transactionId
      • startScn

        private Scn startScn
      • changeTime

        private Instant changeTime
    • Method Detail

      • getTransactionId

        public String getTransactionId()
      • getStartScn

        public Scn getStartScn()
      • getChangeTime

        public Instant getChangeTime()
      • getHashes

        public Set<Long> getHashes()
      • removeEventWithRowId

        public void removeEventWithRowId​(String rowId)
        Removes any all events within the transaction with the specified {code rowId}.
        Parameters:
        rowId - the row id for the SQL event that should be removed
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object