Class DeleteModification
java.lang.Object
org.opendaylight.controller.cluster.datastore.modification.AbstractModification
org.opendaylight.controller.cluster.datastore.modification.DeleteModification
- All Implemented Interfaces:
Externalizable,Serializable,Modification
DeleteModification store all the parameters required to delete a path from the data tree.
- See Also:
-
Field Summary
Fields inherited from interface org.opendaylight.controller.cluster.datastore.modification.Modification
COMPOSITE, DELETE, MERGE, WRITE -
Constructor Summary
Constructors -
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 DeleteModificationfromStream(NormalizedNodeDataInput in, short version) bytegetType()voidvoidvoidMethods inherited from class org.opendaylight.controller.cluster.datastore.modification.AbstractModification
getPath, getVersion, setPath
-
Constructor Details
-
DeleteModification
public DeleteModification() -
DeleteModification
public DeleteModification(short version) -
DeleteModification
-
-
Method Details
-
apply
Description copied from interface:ModificationApply the modification to the specified transaction.- Parameters:
transaction- the transaction
-
apply
Description copied from interface:ModificationApply the modification to the specified transaction.- Parameters:
transaction- the transaction
-
getType
public byte getType() -
readExternal
- Throws:
IOException
-
writeExternal
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
fromStream
public static DeleteModification fromStream(NormalizedNodeDataInput in, short version) throws IOException - Throws:
IOException
-