X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmodification%2FModification.java;h=a04fbd0719444f7b27d1f03459cdee765c983a85;hb=e78622411319748472b5d9edab14eb6dc92cf6b1;hp=6fc8183bd8f29b7e0b1e0c13ce34c4a73f9966f6;hpb=2727bea09c83646b6cbd2ef9672d0b7f6cf3b22f;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/modification/Modification.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/modification/Modification.java index 6fc8183bd8..a04fbd0719 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/modification/Modification.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/modification/Modification.java @@ -14,17 +14,19 @@ import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification /** * Represents a modification to the data store. + * *

* Simple modifications can be of type, + *

* *

- * Modifications can in turn be lumped into a single {@link org.opendaylight.controller.cluster.datastore.modification.CompositeModification} - * which can then be applied to a write transaction - *

+ * Modifications can in turn be lumped into a single + * {@link org.opendaylight.controller.cluster.datastore.modification.CompositeModification} + * which can then be applied to a write transaction. */ public interface Modification extends Externalizable { @@ -34,21 +36,18 @@ public interface Modification extends Externalizable { byte DELETE = 4; /** - * Apply the modification to the specified transaction + * Apply the modification to the specified transaction. * - * @param transaction + * @param transaction the transaction */ void apply(DOMStoreWriteTransaction transaction); /** - * Apply the modification to the specified transaction + * Apply the modification to the specified transaction. * - * @param transaction + * @param transaction the transaction */ void apply(DataTreeModification transaction); byte getType(); - - @Deprecated - Object toSerializable(); }