Class BaseInfGraph.InfTransactionHandler

    • Constructor Detail

      • InfTransactionHandler

        public InfTransactionHandler​(BaseInfGraph base)
    • Method Detail

      • transactionsSupported

        public boolean transactionsSupported()
        Description copied from interface: TransactionHandler
        Does this handler support transactions at all?
        Specified by:
        transactionsSupported in interface TransactionHandler
        Returns:
        true iff begin/abort/commit are implemented and make sense.
      • begin

        public void begin()
        Description copied from interface: TransactionHandler
        If transactions are supported, begin a new transaction. If transactions are not supported, or they are but this transaction is nested and nested transactions are not supported, throw an UnsupportedOperationException.
        Specified by:
        begin in interface TransactionHandler
      • abort

        public void abort()
        Description copied from interface: TransactionHandler
        If transactions are supported and there is a transaction in progress, abort it. If transactions are not supported, or there is no transaction in progress, throw an UnsupportedOperationException.
        Specified by:
        abort in interface TransactionHandler
      • commit

        public void commit()
        Description copied from interface: TransactionHandler
        If transactions are supported and there is a transaction in progress, commit it. If transactions are not supported, , or there is no transaction in progress, throw an UnsupportedOperationException.
        Specified by:
        commit in interface TransactionHandler