public interface DOMStoreWriteTransaction extends DOMStoreTransaction
Modifier and Type | Method and Description |
---|---|
void |
delete(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path)
Deletes data and whole subtree located at provided path.
|
void |
merge(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path,
org.opendaylight.yangtools.yang.data.api.schema.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(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
Store a provided data at specified path.
|
close, getIdentifier
void write(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, org.opendaylight.yangtools.yang.data.api.schema.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(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, org.opendaylight.yangtools.yang.data.api.schema.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(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path)
path
- Path to deleteIllegalStateException
- if the client code already sealed transaction and invoked
ready()
DOMStoreThreePhaseCommitCohort ready()
Copyright © 2019 OpenDaylight. All rights reserved.