AsyncWriteTransaction
@Deprecated public interface DataModification<P extends org.opendaylight.yangtools.concepts.Path<P>,D> extends DataChange<P,D>, DataReader<P,D>
Modifier and Type | Method and Description |
---|---|
Future<org.opendaylight.yangtools.yang.common.RpcResult<TransactionStatus>> |
commit()
Deprecated.
Initiates a two-phase commit of modification.
|
Object |
getIdentifier()
Deprecated.
Returns transaction identifier
|
TransactionStatus |
getStatus()
Deprecated.
|
void |
putConfigurationData(P path,
D data)
Deprecated.
Store a piece of data at specified path.
|
void |
putOperationalData(P path,
D data)
Deprecated.
Store a piece of data at specified path.
|
void |
removeConfigurationData(P path)
Deprecated.
|
void |
removeOperationalData(P path)
Deprecated.
|
getCreatedConfigurationData, getCreatedOperationalData, getOriginalConfigurationData, getOriginalOperationalData, getRemovedConfigurationData, getRemovedOperationalData, getUpdatedConfigurationData, getUpdatedOperationalData
readConfigurationData, readOperationalData
Object getIdentifier()
TransactionStatus getStatus()
void putOperationalData(P path, D data)
removeOperationalData
first.void putConfigurationData(P path, D data)
removeConfigurationData
first.void removeOperationalData(P path)
void removeConfigurationData(P path)
Future<org.opendaylight.yangtools.yang.common.RpcResult<TransactionStatus>> commit()
The successful commit changes the state of the system and may affect several components.
The effects of successful commit of data are described in the specifications and YANG models describing the Provider components of controller. It is assumed that Consumer has an understanding of this changes.
TransactionStatus.COMMITED
or
TransactionStatus.FAILED
is reached.Copyright © 2019 OpenDaylight. All rights reserved.