public interface DOMStoreWriteTransaction extends DOMStoreTransaction
Modifier and Type | Method and Description |
---|---|
void |
delete(YangInstanceIdentifier path)
Deletes data and whole subtree located at provided path.
|
void |
merge(YangInstanceIdentifier path,
NormalizedNode<?,?> data)
Store a provided data at specified path.
|
DOMStoreThreePhaseCommitCohort |
ready()
Seals transaction, and returns three-phase commit cohort associated
with this transaction and DOM Store to be coordinated by coordinator.
|
void |
write(YangInstanceIdentifier path,
NormalizedNode<?,?> data)
Store a provided data at specified path.
|
close, getIdentifier
void write(YangInstanceIdentifier path, NormalizedNode<?,?> data)
If you need add or merge of current object with specified use
merge(YangInstanceIdentifier, NormalizedNode)
path
- YangInstanceIdentifier object to be writtendata
- Data object to be writtenIllegalStateException
- if the client code already sealed transaction and invoked
ready()
void merge(YangInstanceIdentifier path, NormalizedNode<?,?> data)
If you need add or merge of current object with specified use
merge(YangInstanceIdentifier, NormalizedNode)
path
- YangInstanceIdentifier object to be mergeddata
- Data object to be writtenIllegalStateException
- if the client code already sealed transaction and invoked
ready()
void delete(YangInstanceIdentifier path)
path
- Path to deleteIllegalStateException
- if the client code already sealed transaction and invoked
ready()
DOMStoreThreePhaseCommitCohort ready()
Copyright © 2020 OpenDaylight. All rights reserved.