Class MutableCompositeModification
java.lang.Object
org.opendaylight.controller.cluster.datastore.messages.VersionedExternalizableMessage
org.opendaylight.controller.cluster.datastore.modification.MutableCompositeModification
- All Implemented Interfaces:
Externalizable
,Serializable
,SerializableMessage
,CompositeModification
,Modification
- Direct Known Subclasses:
BatchedModifications
@Deprecated(since="9.0.0",
forRemoval=true)
public class MutableCompositeModification
extends VersionedExternalizableMessage
implements CompositeModification
Deprecated, for removal: This API element is subject to removal in a future version.
MutableCompositeModification is just a mutable version of a CompositeModification.
- See Also:
-
Field Summary
Fields inherited from interface org.opendaylight.controller.cluster.datastore.modification.Modification
COMPOSITE, DELETE, MERGE, WRITE
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.MutableCompositeModification
(short version) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addModification
(Modification modification) Deprecated, for removal: This API element is subject to removal in a future version.Add a new Modification to the list of Modifications represented by this composite.void
addModifications
(Iterable<Modification> newMods) Deprecated, for removal: This API element is subject to removal in a future version.void
apply
(DOMStoreWriteTransaction transaction) Deprecated, for removal: This API element is subject to removal in a future version.Apply the modification to the specified transaction.void
apply
(DataTreeModification transaction) Deprecated, for removal: This API element is subject to removal in a future version.Apply the modification to the specified transaction.static MutableCompositeModification
fromSerializable
(Object serializable) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Get a list of modifications contained by this composite.byte
getType()
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.opendaylight.controller.cluster.datastore.messages.VersionedExternalizableMessage
getStreamVersion, getVersion, toSerializable, toString
-
Constructor Details
-
MutableCompositeModification
public MutableCompositeModification()Deprecated, for removal: This API element is subject to removal in a future version. -
MutableCompositeModification
public MutableCompositeModification(short version) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
apply
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.- Specified by:
apply
in interfaceModification
- Parameters:
transaction
- the transaction
-
apply
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.- Specified by:
apply
in interfaceModification
- Parameters:
transaction
- the transaction
-
getType
public byte getType()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getType
in interfaceModification
-
addModification
Deprecated, for removal: This API element is subject to removal in a future version.Add a new Modification to the list of Modifications represented by this composite.- Parameters:
modification
- the modification to add.
-
addModifications
Deprecated, for removal: This API element is subject to removal in a future version. -
getModifications
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CompositeModification
Get a list of modifications contained by this composite.- Specified by:
getModifications
in interfaceCompositeModification
- Returns:
- an immutable list of modifications
-
readExternal
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readExternal
in interfaceExternalizable
- Specified by:
readExternal
in interfaceModification
- Overrides:
readExternal
in classVersionedExternalizableMessage
- Throws:
IOException
ClassNotFoundException
-
writeExternal
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writeExternal
in interfaceExternalizable
- Specified by:
writeExternal
in interfaceModification
- Overrides:
writeExternal
in classVersionedExternalizableMessage
- Throws:
IOException
-
fromSerializable
Deprecated, for removal: This API element is subject to removal in a future version. -
writeTo
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writeTo
in interfaceModification
- Throws:
IOException
-