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 Summary
Constructors Constructor Description TransactionInvokerImpl(org.opendaylight.mdsal.binding.api.DataBroker db)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
invoke(TransactionCommand command)
void
onTransactionChainFailed(org.opendaylight.mdsal.binding.api.TransactionChain chainArg, org.opendaylight.mdsal.binding.api.Transaction transaction, Throwable cause)
void
onTransactionChainSuccessful(org.opendaylight.mdsal.binding.api.TransactionChain chainArg)
void
run()
-
-
-
Method Detail
-
invoke
public void invoke(TransactionCommand command)
- Specified by:
invoke
in interfaceTransactionInvoker
-
onTransactionChainFailed
public void onTransactionChainFailed(org.opendaylight.mdsal.binding.api.TransactionChain chainArg, org.opendaylight.mdsal.binding.api.Transaction transaction, Throwable cause)
- Specified by:
onTransactionChainFailed
in interfaceorg.opendaylight.mdsal.binding.api.TransactionChainListener
-
onTransactionChainSuccessful
public void onTransactionChainSuccessful(org.opendaylight.mdsal.binding.api.TransactionChain chainArg)
- Specified by:
onTransactionChainSuccessful
in interfaceorg.opendaylight.mdsal.binding.api.TransactionChainListener
-
close
public void close() throws InterruptedException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceTransactionInvoker
- Throws:
InterruptedException
-
-