T
- identifier typepublic abstract static class SnapshotBackedWriteTransaction.TransactionReadyPrototype<T> extends Object
SnapshotBackedWriteTransaction.ready()
.
This class is intended to be implemented by Transaction factories responsible for allocation
of SnapshotBackedWriteTransaction
and
providing underlying logic for applying implementation.
Constructor and Description |
---|
TransactionReadyPrototype() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
transactionAborted(SnapshotBackedWriteTransaction<T> tx)
Called when a transaction is closed without being readied.
|
protected abstract DOMStoreThreePhaseCommitCohort |
transactionReady(SnapshotBackedWriteTransaction<T> tx,
org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification tree,
@Nullable Exception readyError)
Returns a commit coordinator associated with supplied transactions.
|
protected abstract void transactionAborted(SnapshotBackedWriteTransaction<T> tx)
tx
- Transaction which got aborted.protected abstract DOMStoreThreePhaseCommitCohort transactionReady(SnapshotBackedWriteTransaction<T> tx, org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification tree, @Nullable Exception readyError)
tx
- Transaction on which ready was invoked.tree
- Modified data tree which has been constructed.readyError
- Any error that has already happened when readying.Copyright © 2019 OpenDaylight. All rights reserved.