Class WriteModification
java.lang.Object
org.opendaylight.controller.cluster.datastore.modification.AbstractModification
org.opendaylight.controller.cluster.datastore.modification.WriteModification
- All Implemented Interfaces:
Externalizable
,Serializable
,Modification
- Direct Known Subclasses:
MergeModification
@Deprecated(since="9.0.0",
forRemoval=true)
public class WriteModification
extends AbstractModification
Deprecated, for removal: This API element is subject to removal in a future version.
WriteModification stores all the parameters required to write data to the specified path.
- See Also:
-
Field Summary
Fields inherited from interface org.opendaylight.controller.cluster.datastore.modification.Modification
COMPOSITE, DELETE, MERGE, WRITE
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.WriteModification
(short version) Deprecated, for removal: This API element is subject to removal in a future version.WriteModification
(YangInstanceIdentifier path, NormalizedNode data) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(DOMStoreWriteTransaction transaction) Deprecated, for removal: This API element is subject to removal in a future version.Apply the modification to the specified transaction.void
apply
(DataTreeModification transaction) Deprecated, for removal: This API element is subject to removal in a future version.Apply the modification to the specified transaction.static WriteModification
fromStream
(NormalizedNodeDataInput in, short version, ReusableStreamReceiver receiver) Deprecated, for removal: This API element is subject to removal in a future version.getData()
Deprecated, for removal: This API element is subject to removal in a future version.byte
getType()
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.opendaylight.controller.cluster.datastore.modification.AbstractModification
getPath, getVersion, setPath
-
Constructor Details
-
WriteModification
public WriteModification()Deprecated, for removal: This API element is subject to removal in a future version. -
WriteModification
public WriteModification(short version) Deprecated, for removal: This API element is subject to removal in a future version. -
WriteModification
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
apply
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Modification
Apply the modification to the specified transaction.- Parameters:
transaction
- the transaction
-
apply
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Modification
Apply the modification to the specified transaction.- Parameters:
transaction
- the transaction
-
getData
Deprecated, for removal: This API element is subject to removal in a future version. -
getType
public byte getType()Deprecated, for removal: This API element is subject to removal in a future version. -
readExternal
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeExternal
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
fromStream
public static WriteModification fromStream(NormalizedNodeDataInput in, short version, ReusableStreamReceiver receiver) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeTo
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-