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:
  • 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

      public WriteModification(YangInstanceIdentifier path, NormalizedNode data)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • apply

      public void apply(DOMStoreWriteTransaction transaction)
      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

      public void apply(DataTreeModification transaction)
      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

      public NormalizedNode 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

      public void readExternal(ObjectInput in) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • writeExternal

      public void writeExternal(ObjectOutput out) throws IOException
      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

      public void writeTo(NormalizedNodeDataOutput out) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException