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 TypeMethodDescriptionvoidaddModification(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.voidaddModifications(Iterable<Modification> newMods) Deprecated, for removal: This API element is subject to removal in a future version.voidapply(DOMStoreWriteTransaction transaction) Deprecated, for removal: This API element is subject to removal in a future version.Apply the modification to the specified transaction.voidapply(DataTreeModification transaction) Deprecated, for removal: This API element is subject to removal in a future version.Apply the modification to the specified transaction.static MutableCompositeModificationfromSerializable(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.bytegetType()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, 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:ModificationApply the modification to the specified transaction.- Specified by:
applyin interfaceModification- Parameters:
transaction- the transaction
-
apply
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ModificationApply the modification to the specified transaction.- Specified by:
applyin 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:
getTypein 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:CompositeModificationGet a list of modifications contained by this composite.- Specified by:
getModificationsin interfaceCompositeModification- Returns:
- an immutable list of modifications
-
readExternal
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readExternalin interfaceExternalizable- Specified by:
readExternalin interfaceModification- Overrides:
readExternalin classVersionedExternalizableMessage- Throws:
IOExceptionClassNotFoundException
-
writeExternal
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writeExternalin interfaceExternalizable- Specified by:
writeExternalin interfaceModification- Overrides:
writeExternalin 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:
writeToin interfaceModification- Throws:
IOException
-