Class TransactionInvokerImpl
java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.TransactionInvokerImpl
- All Implemented Interfaces:
AutoCloseable
,Runnable
,Thread.UncaughtExceptionHandler
,EventListener
,org.opendaylight.mdsal.binding.api.TransactionChainListener
,TransactionInvoker
public final class TransactionInvokerImpl
extends Object
implements TransactionInvoker, org.opendaylight.mdsal.binding.api.TransactionChainListener, Runnable, AutoCloseable, Thread.UncaughtExceptionHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
invoke
(TransactionCommand command) void
onTransactionChainFailed
(org.opendaylight.mdsal.binding.api.TransactionChain txChain, org.opendaylight.mdsal.binding.api.Transaction transaction, Throwable cause) void
onTransactionChainSuccessful
(org.opendaylight.mdsal.binding.api.TransactionChain txChain) void
run()
void
uncaughtException
(Thread thread, Throwable ex)
-
Constructor Details
-
TransactionInvokerImpl
public TransactionInvokerImpl(org.opendaylight.mdsal.binding.api.DataBroker db)
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceTransactionInvoker
-
onTransactionChainFailed
public void onTransactionChainFailed(org.opendaylight.mdsal.binding.api.TransactionChain txChain, 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 txChain) - Specified by:
onTransactionChainSuccessful
in interfaceorg.opendaylight.mdsal.binding.api.TransactionChainListener
-
run
public void run() -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceTransactionInvoker
- Throws:
Exception
-
uncaughtException
- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-