Class TransactionInvokerImpl
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.TransactionInvokerImpl
-
- All Implemented Interfaces:
AutoCloseable
,Runnable
,Thread.UncaughtExceptionHandler
,EventListener
,org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener
,TransactionInvoker
public class TransactionInvokerImpl extends Object implements TransactionInvoker, org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener, Runnable, AutoCloseable, Thread.UncaughtExceptionHandler
-
-
Constructor Summary
Constructors Constructor Description TransactionInvokerImpl(org.opendaylight.controller.md.sal.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.controller.md.sal.common.api.data.TransactionChain<?,?> txChain, org.opendaylight.controller.md.sal.common.api.data.AsyncTransaction<?,?> transaction, Throwable cause)
void
onTransactionChainSuccessful(org.opendaylight.controller.md.sal.common.api.data.TransactionChain<?,?> txChain)
void
run()
void
uncaughtException(Thread thread, Throwable ex)
-
-
-
Method Detail
-
invoke
public void invoke(TransactionCommand command)
- Specified by:
invoke
in interfaceTransactionInvoker
-
onTransactionChainFailed
public void onTransactionChainFailed(org.opendaylight.controller.md.sal.common.api.data.TransactionChain<?,?> txChain, org.opendaylight.controller.md.sal.common.api.data.AsyncTransaction<?,?> transaction, Throwable cause)
- Specified by:
onTransactionChainFailed
in interfaceorg.opendaylight.controller.md.sal.common.api.data.TransactionChainListener
-
onTransactionChainSuccessful
public void onTransactionChainSuccessful(org.opendaylight.controller.md.sal.common.api.data.TransactionChain<?,?> txChain)
- Specified by:
onTransactionChainSuccessful
in interfaceorg.opendaylight.controller.md.sal.common.api.data.TransactionChainListener
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceTransactionInvoker
- Throws:
Exception
-
uncaughtException
public void uncaughtException(Thread thread, Throwable ex)
- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-
-