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 TypeMethodDescriptionvoid
apply
(DOMStoreWriteTransaction transaction) Apply the modification to the specified transaction.void
apply
(DataTreeModification transaction) Apply the modification to the specified transaction.static DeleteModification
fromStream
(NormalizedNodeDataInput in, short version) byte
getType()
void
void
void
Methods 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:Modification
Apply the modification to the specified transaction.- Parameters:
transaction
- the transaction
-
apply
Description copied from interface:Modification
Apply 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
-