Class MergeCommandsAggregator<BuilderTypeT extends org.opendaylight.yangtools.concepts.Builder,AugTypeT extends org.opendaylight.yangtools.yang.binding.DataObject>
- java.lang.Object
-
- org.opendaylight.netvirt.elan.l2gw.ha.merge.MergeCommandsAggregator<BuilderTypeT,AugTypeT>
-
- Direct Known Subclasses:
GlobalAugmentationMerger
,GlobalNodeMerger
,PSAugmentationMerger
,PSNodeMerger
public abstract class MergeCommandsAggregator<BuilderTypeT extends org.opendaylight.yangtools.concepts.Builder,AugTypeT extends org.opendaylight.yangtools.yang.binding.DataObject> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.Class<?>,MergeCommand>
commands
-
Constructor Summary
Constructors Modifier Constructor Description protected
MergeCommandsAggregator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCommand(MergeCommand mergeCommand)
void
mergeConfigData(BuilderTypeT builder, AugTypeT src, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath)
void
mergeConfigUpdate(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath, org.opendaylight.mdsal.binding.api.DataObjectModification mod, org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> tx)
void
mergeOperationalData(BuilderTypeT builder, AugTypeT existingData, AugTypeT src, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath)
void
mergeOpUpdate(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath, org.opendaylight.mdsal.binding.api.DataObjectModification mod, org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Operational> tx)
<D extends org.opendaylight.genius.infra.Datastore>
voidmergeUpdate(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath, org.opendaylight.mdsal.binding.api.DataObjectModification mod, java.lang.Class<D> datastoreType, org.opendaylight.genius.infra.TypedReadWriteTransaction<D> tx)
-
-
-
Field Detail
-
commands
protected java.util.Map<java.lang.Class<?>,MergeCommand> commands
-
-
Method Detail
-
addCommand
protected void addCommand(MergeCommand mergeCommand)
-
mergeOperationalData
public void mergeOperationalData(BuilderTypeT builder, AugTypeT existingData, AugTypeT src, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath)
-
mergeConfigData
public void mergeConfigData(BuilderTypeT builder, AugTypeT src, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath)
-
mergeConfigUpdate
public void mergeConfigUpdate(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath, org.opendaylight.mdsal.binding.api.DataObjectModification mod, org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> tx)
-
mergeOpUpdate
public void mergeOpUpdate(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath, org.opendaylight.mdsal.binding.api.DataObjectModification mod, org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Operational> tx)
-
mergeUpdate
public <D extends org.opendaylight.genius.infra.Datastore> void mergeUpdate(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath, org.opendaylight.mdsal.binding.api.DataObjectModification mod, java.lang.Class<D> datastoreType, org.opendaylight.genius.infra.TypedReadWriteTransaction<D> tx)
-
-