Class MergeModification
java.lang.Object
org.opendaylight.controller.cluster.datastore.modification.AbstractModification
org.opendaylight.controller.cluster.datastore.modification.WriteModification
org.opendaylight.controller.cluster.datastore.modification.MergeModification
- All Implemented Interfaces:
Externalizable,Serializable,Modification
MergeModification stores all the parameters required to merge data into the specified path.
- See Also:
-
Field Summary
Fields inherited from interface org.opendaylight.controller.cluster.datastore.modification.Modification
COMPOSITE, DELETE, MERGE, WRITE -
Constructor Summary
ConstructorsConstructorDescriptionMergeModification(short version) MergeModification(YangInstanceIdentifier path, NormalizedNode data) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(DOMStoreWriteTransaction transaction) Apply the modification to the specified transaction.voidapply(DataTreeModification transaction) Apply the modification to the specified transaction.static MergeModificationfromStream(NormalizedNodeDataInput in, short version, ReusableStreamReceiver receiver) bytegetType()Methods inherited from class org.opendaylight.controller.cluster.datastore.modification.WriteModification
getData, readExternal, writeExternal, writeToMethods inherited from class org.opendaylight.controller.cluster.datastore.modification.AbstractModification
getPath, getVersion, setPath
-
Constructor Details
-
MergeModification
public MergeModification() -
MergeModification
public MergeModification(short version) -
MergeModification
-
-
Method Details
-
apply
Description copied from interface:ModificationApply the modification to the specified transaction.- Specified by:
applyin interfaceModification- Overrides:
applyin classWriteModification- Parameters:
transaction- the transaction
-
apply
Description copied from interface:ModificationApply the modification to the specified transaction.- Specified by:
applyin interfaceModification- Overrides:
applyin classWriteModification- Parameters:
transaction- the transaction
-
getType
public byte getType()- Specified by:
getTypein interfaceModification- Overrides:
getTypein classWriteModification
-
fromStream
public static MergeModification fromStream(NormalizedNodeDataInput in, short version, ReusableStreamReceiver receiver) throws IOException - Throws:
IOException
-