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 TransactionInvoker
public 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.TransactionChainListener
public void onTransactionChainSuccessful(org.opendaylight.controller.md.sal.common.api.data.TransactionChain<?,?> chain)
onTransactionChainSuccessful
in interface org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener
public void close() throws Exception
close
in interface AutoCloseable
close
in interface TransactionInvoker
Exception
public void uncaughtException(Thread thread, Throwable e)
uncaughtException
in interface Thread.UncaughtExceptionHandler
Copyright © 2018 OpenDaylight. All rights reserved.