@Deprecated public class DOMTransactionChainAdapter extends com.google.common.collect.ForwardingObject implements org.opendaylight.mdsal.dom.api.DOMTransactionChain, TransactionChainListener
| Constructor and Description |
|---|
DOMTransactionChainAdapter(org.opendaylight.mdsal.dom.api.DOMTransactionChainListener listener,
Function<TransactionChainListener,DOMTransactionChain> function)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
protected DOMTransactionChain |
delegate()
Deprecated.
|
org.opendaylight.mdsal.dom.api.DOMDataTreeReadTransaction |
newReadOnlyTransaction()
Deprecated.
|
org.opendaylight.mdsal.dom.api.DOMDataTreeReadWriteTransaction |
newReadWriteTransaction()
Deprecated.
|
org.opendaylight.mdsal.dom.api.DOMDataTreeWriteTransaction |
newWriteOnlyTransaction()
Deprecated.
|
void |
onTransactionChainFailed(TransactionChain<?,?> chain,
AsyncTransaction<?,?> transaction,
Throwable cause)
Deprecated.
Invoked if when a transaction in the chain fails.
|
void |
onTransactionChainSuccessful(TransactionChain<?,?> chain)
Deprecated.
Invoked when a transaction chain is completed.
|
public DOMTransactionChainAdapter(org.opendaylight.mdsal.dom.api.DOMTransactionChainListener listener,
Function<TransactionChainListener,DOMTransactionChain> function)
public void close()
close in interface AutoCloseableclose in interface org.opendaylight.yangtools.concepts.Registrationpublic org.opendaylight.mdsal.dom.api.DOMDataTreeReadTransaction newReadOnlyTransaction()
newReadOnlyTransaction in interface org.opendaylight.mdsal.dom.api.DOMTransactionChainnewReadOnlyTransaction in interface org.opendaylight.mdsal.dom.api.DOMTransactionFactorypublic org.opendaylight.mdsal.dom.api.DOMDataTreeWriteTransaction newWriteOnlyTransaction()
newWriteOnlyTransaction in interface org.opendaylight.mdsal.dom.api.DOMTransactionChainnewWriteOnlyTransaction in interface org.opendaylight.mdsal.dom.api.DOMTransactionFactorypublic org.opendaylight.mdsal.dom.api.DOMDataTreeReadWriteTransaction newReadWriteTransaction()
newReadWriteTransaction in interface org.opendaylight.mdsal.dom.api.DOMTransactionChainnewReadWriteTransaction in interface org.opendaylight.mdsal.dom.api.DOMTransactionFactorypublic void onTransactionChainFailed(TransactionChain<?,?> chain, AsyncTransaction<?,?> transaction, Throwable cause)
TransactionChainListeneronTransactionChainFailed in interface TransactionChainListenerchain - Transaction chain which failedtransaction - Transaction which caused the chain to failcause - The cause of transaction failurepublic void onTransactionChainSuccessful(TransactionChain<?,?> chain)
TransactionChainListeneronTransactionChainSuccessful in interface TransactionChainListenerchain - Transaction chain which completedprotected DOMTransactionChain delegate()
delegate in class com.google.common.collect.ForwardingObjectCopyright © 2019 OpenDaylight. All rights reserved.