public class TransactionInvokerImpl extends Object implements TransactionInvoker, org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener, Runnable, AutoCloseable, Thread.UncaughtExceptionHandler
| Constructor and Description |
|---|
TransactionInvokerImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker db) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
invoke(TransactionCommand command) |
void |
onTransactionChainFailed(org.opendaylight.controller.md.sal.common.api.data.TransactionChain<?,?> chain,
org.opendaylight.controller.md.sal.common.api.data.AsyncTransaction<?,?> transaction,
Throwable cause) |
void |
onTransactionChainSuccessful(org.opendaylight.controller.md.sal.common.api.data.TransactionChain<?,?> chain) |
void |
run() |
void |
uncaughtException(Thread thread,
Throwable e) |
public TransactionInvokerImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker db)
public void invoke(TransactionCommand command)
invoke in interface TransactionInvokerpublic void onTransactionChainFailed(org.opendaylight.controller.md.sal.common.api.data.TransactionChain<?,?> chain,
org.opendaylight.controller.md.sal.common.api.data.AsyncTransaction<?,?> transaction,
Throwable cause)
onTransactionChainFailed in interface org.opendaylight.controller.md.sal.common.api.data.TransactionChainListenerpublic void onTransactionChainSuccessful(org.opendaylight.controller.md.sal.common.api.data.TransactionChain<?,?> chain)
onTransactionChainSuccessful in interface org.opendaylight.controller.md.sal.common.api.data.TransactionChainListenerpublic void close()
throws Exception
close in interface AutoCloseableclose in interface TransactionInvokerExceptionpublic void uncaughtException(Thread thread, Throwable e)
uncaughtException in interface Thread.UncaughtExceptionHandlerCopyright © 2018 OpenDaylight. All rights reserved.