public class TransactionInvokerImpl extends Object implements TransactionInvoker, org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener, Runnable, AutoCloseable
| 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<?,?> chainArg,
org.opendaylight.controller.md.sal.common.api.data.AsyncTransaction<?,?> transaction,
Throwable cause) |
void |
onTransactionChainSuccessful(org.opendaylight.controller.md.sal.common.api.data.TransactionChain<?,?> chainArg) |
void |
run() |
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<?,?> chainArg,
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<?,?> chainArg)
onTransactionChainSuccessful in interface org.opendaylight.controller.md.sal.common.api.data.TransactionChainListenerpublic void close()
throws InterruptedException
close in interface AutoCloseableclose in interface TransactionInvokerInterruptedExceptionCopyright © 2018 OpenDaylight. All rights reserved.