@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 AutoCloseable
close
in interface org.opendaylight.yangtools.concepts.Registration
public org.opendaylight.mdsal.dom.api.DOMDataTreeReadTransaction newReadOnlyTransaction()
newReadOnlyTransaction
in interface org.opendaylight.mdsal.dom.api.DOMTransactionChain
newReadOnlyTransaction
in interface org.opendaylight.mdsal.dom.api.DOMTransactionFactory
public org.opendaylight.mdsal.dom.api.DOMDataTreeWriteTransaction newWriteOnlyTransaction()
newWriteOnlyTransaction
in interface org.opendaylight.mdsal.dom.api.DOMTransactionChain
newWriteOnlyTransaction
in interface org.opendaylight.mdsal.dom.api.DOMTransactionFactory
public org.opendaylight.mdsal.dom.api.DOMDataTreeReadWriteTransaction newReadWriteTransaction()
newReadWriteTransaction
in interface org.opendaylight.mdsal.dom.api.DOMTransactionChain
newReadWriteTransaction
in interface org.opendaylight.mdsal.dom.api.DOMTransactionFactory
public void onTransactionChainFailed(TransactionChain<?,?> chain, AsyncTransaction<?,?> transaction, Throwable cause)
TransactionChainListener
onTransactionChainFailed
in interface TransactionChainListener
chain
- Transaction chain which failedtransaction
- Transaction which caused the chain to failcause
- The cause of transaction failurepublic void onTransactionChainSuccessful(TransactionChain<?,?> chain)
TransactionChainListener
onTransactionChainSuccessful
in interface TransactionChainListener
chain
- Transaction chain which completedprotected DOMTransactionChain delegate()
delegate
in class com.google.common.collect.ForwardingObject
Copyright © 2019 OpenDaylight. All rights reserved.