@Beta public final class SnapshotBackedTransactions extends Object
Modifier and Type | Method and Description |
---|---|
static <T> SnapshotBackedReadTransaction<T> |
newReadTransaction(T identifier,
boolean debug,
org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshot snapshot)
Creates a new read-only transaction.
|
static <T> SnapshotBackedReadWriteTransaction<T> |
newReadWriteTransaction(T identifier,
boolean debug,
org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshot snapshot,
SnapshotBackedWriteTransaction.TransactionReadyPrototype<T> readyImpl)
Creates a new read-write transaction.
|
static <T> SnapshotBackedWriteTransaction<T> |
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.
|
public static <T> SnapshotBackedReadTransaction<T> newReadTransaction(T identifier, boolean debug, org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshot snapshot)
identifier
- Transaction Identifierdebug
- Enable transaction debuggingsnapshot
- Snapshot which will be modified.public static <T> SnapshotBackedReadWriteTransaction<T> newReadWriteTransaction(T identifier, boolean debug, org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshot snapshot, SnapshotBackedWriteTransaction.TransactionReadyPrototype<T> readyImpl)
identifier
- transaction Identifierdebug
- Enable transaction debuggingsnapshot
- Snapshot which will be modified.readyImpl
- Implementation of ready method.public static <T> SnapshotBackedWriteTransaction<T> newWriteTransaction(T identifier, boolean debug, org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshot snapshot, SnapshotBackedWriteTransaction.TransactionReadyPrototype<T> readyImpl)
identifier
- transaction Identifierdebug
- Enable transaction debuggingsnapshot
- Snapshot which will be modified.readyImpl
- Implementation of ready method.Copyright © 2019 OpenDaylight. All rights reserved.