Class TransactionInvokerImpl

java.lang.Object
org.opendaylight.ovsdb.southbound.transactions.md.TransactionInvokerImpl
All Implemented Interfaces:
AutoCloseable, Runnable, EventListener, org.opendaylight.mdsal.binding.api.TransactionChainListener, TransactionInvoker

public final class TransactionInvokerImpl extends Object implements TransactionInvoker, org.opendaylight.mdsal.binding.api.TransactionChainListener, Runnable, AutoCloseable
  • Constructor Details

    • TransactionInvokerImpl

      public TransactionInvokerImpl(org.opendaylight.mdsal.binding.api.DataBroker db)
  • Method Details

    • invoke

      public void invoke(TransactionCommand command)
      Specified by:
      invoke in interface TransactionInvoker
    • onTransactionChainFailed

      public void onTransactionChainFailed(org.opendaylight.mdsal.binding.api.TransactionChain chainArg, org.opendaylight.mdsal.binding.api.Transaction transaction, Throwable cause)
      Specified by:
      onTransactionChainFailed in interface org.opendaylight.mdsal.binding.api.TransactionChainListener
    • onTransactionChainSuccessful

      public void onTransactionChainSuccessful(org.opendaylight.mdsal.binding.api.TransactionChain chainArg)
      Specified by:
      onTransactionChainSuccessful in interface org.opendaylight.mdsal.binding.api.TransactionChainListener
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • close

      public void close() throws InterruptedException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface TransactionInvoker
      Throws:
      InterruptedException