Class McastMacsLocalRemoveCommand
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand<LocalMcastMacs,LocalMcastMacsKey,HwvtepGlobalAugmentation>
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.McastMacsLocalRemoveCommand
-
- All Implemented Interfaces:
TransactCommand<LocalMcastMacs>
public class McastMacsLocalRemoveCommand extends AbstractTransactCommand<LocalMcastMacs,LocalMcastMacsKey,HwvtepGlobalAugmentation>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
McastMacsLocalRemoveCommand.MacDependencyGetter
-
Field Summary
-
Fields inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
deviceTransaction, hwvtepOperationalState, TXUUID
-
-
Constructor Summary
Constructors Constructor Description McastMacsLocalRemoveCommand(HwvtepOperationalState state, Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> changes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
cascadeDelete()
Tells if this object needs to be deleted if its dependent object gets deleted Ex : LocalUcastMac and LocalMacstMac.void
execute(TransactionBuilder transaction)
protected Map<LocalMcastMacsKey,LocalMcastMacs>
getData(HwvtepGlobalAugmentation augmentation)
protected UnMetDependencyGetter<LocalMcastMacs>
getDependencyGetter()
protected String
getKeyStr(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LocalMcastMacs> iid)
protected boolean
isDeleteCmd()
-
Methods inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
addJobToQueue, areEqual, augmentation, clearConfigData, doDeviceTransaction, extractRemoved, extractUpdated, fetchDeviceData, getChanges, getClassType, getClone, getConfigData, getConnectionInstance, getData, getDataBroker, getDeviceInfo, getDeviceOpData, getDeviceTransaction, getLsKeyStr, getNodeKeyStr, getOperationalState, getTableReader, markKeyAsInTransit, newOperState, onCommandFailed, onCommandSucceeded, onConfigUpdate, onFailure, onSuccess, updateConfigData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.ovsdb.hwvtepsouthbound.transact.TransactCommand
retry
-
-
-
-
Constructor Detail
-
McastMacsLocalRemoveCommand
public McastMacsLocalRemoveCommand(HwvtepOperationalState state, Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> changes)
-
-
Method Detail
-
execute
public void execute(TransactionBuilder transaction)
-
getData
protected Map<LocalMcastMacsKey,LocalMcastMacs> getData(HwvtepGlobalAugmentation augmentation)
- Overrides:
getData
in classAbstractTransactCommand<LocalMcastMacs,LocalMcastMacsKey,HwvtepGlobalAugmentation>
-
cascadeDelete
protected boolean cascadeDelete()
Description copied from class:AbstractTransactCommand
Tells if this object needs to be deleted if its dependent object gets deleted Ex : LocalUcastMac and LocalMacstMac.- Overrides:
cascadeDelete
in classAbstractTransactCommand<LocalMcastMacs,LocalMcastMacsKey,HwvtepGlobalAugmentation>
- Returns:
- true if this object needs to be deleted if its dependent object gets deleted
-
getDependencyGetter
protected UnMetDependencyGetter<LocalMcastMacs> getDependencyGetter()
- Overrides:
getDependencyGetter
in classAbstractTransactCommand<LocalMcastMacs,LocalMcastMacsKey,HwvtepGlobalAugmentation>
-
isDeleteCmd
protected boolean isDeleteCmd()
- Overrides:
isDeleteCmd
in classAbstractTransactCommand<LocalMcastMacs,LocalMcastMacsKey,HwvtepGlobalAugmentation>
-
getKeyStr
protected String getKeyStr(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LocalMcastMacs> iid)
- Overrides:
getKeyStr
in classAbstractTransactCommand<LocalMcastMacs,LocalMcastMacsKey,HwvtepGlobalAugmentation>
-
-