| Package | Description | 
|---|---|
| org.opendaylight.mdsal.dom.spi.store | |
| org.opendaylight.mdsal.dom.store.inmemory | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
SnapshotBackedReadWriteTransaction<T>
Implementation of Read-Write transaction which is backed by  
DataTreeSnapshot
 and executed according to TransactionReadyPrototype. | 
| Modifier and Type | Method and Description | 
|---|---|
static <T> SnapshotBackedWriteTransaction<T> | 
SnapshotBackedTransactions.newWriteTransaction(T identifier,
                   boolean debug,
                   org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshot snapshot,
                   SnapshotBackedWriteTransaction.TransactionReadyPrototype<T> readyImpl)
Creates a new write-only transaction. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract DOMStoreThreePhaseCommitCohort | 
AbstractSnapshotBackedTransactionChain.createCohort(SnapshotBackedWriteTransaction<T> transaction,
            org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification modification)
Create a cohort for driving the transaction through the commit process. 
 | 
protected void | 
AbstractSnapshotBackedTransactionChain.onTransactionCommited(SnapshotBackedWriteTransaction<T> transaction)
Notify the base logic that a previously-submitted transaction has been committed successfully. 
 | 
protected void | 
AbstractSnapshotBackedTransactionChain.onTransactionFailed(SnapshotBackedWriteTransaction<T> transaction,
                   Throwable cause)
Notify the base logic that a previously-submitted transaction has failed. 
 | 
protected void | 
AbstractSnapshotBackedTransactionChain.transactionAborted(SnapshotBackedWriteTransaction<T> tx)  | 
protected abstract void | 
SnapshotBackedWriteTransaction.TransactionReadyPrototype.transactionAborted(SnapshotBackedWriteTransaction<T> tx)
Called when a transaction is closed without being readied. 
 | 
protected DOMStoreThreePhaseCommitCohort | 
AbstractSnapshotBackedTransactionChain.transactionReady(SnapshotBackedWriteTransaction<T> tx,
                org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification tree)  | 
protected abstract DOMStoreThreePhaseCommitCohort | 
SnapshotBackedWriteTransaction.TransactionReadyPrototype.transactionReady(SnapshotBackedWriteTransaction<T> tx,
                org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification tree)
Returns a commit coordinator associated with supplied transactions. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
InMemoryDOMDataStore.transactionAborted(SnapshotBackedWriteTransaction<String> tx)  | 
protected DOMStoreThreePhaseCommitCohort | 
InMemoryDOMDataStore.transactionReady(SnapshotBackedWriteTransaction<String> tx,
                org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification modification)  | 
Copyright © 2018 OpenDaylight. All rights reserved.