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 TransactionInvoker
public 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.TransactionChainListener
public void onTransactionChainSuccessful(org.opendaylight.controller.md.sal.common.api.data.TransactionChain<?,?> chainArg)
onTransactionChainSuccessful
in interface org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener
public void close() throws InterruptedException
close
in interface AutoCloseable
close
in interface TransactionInvoker
InterruptedException
Copyright © 2018 OpenDaylight. All rights reserved.