Class AbstractTransactionCommand<T extends org.opendaylight.yangtools.yang.binding.DataObject>
java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.AbstractTransactionCommand<T>
- All Implemented Interfaces:
TransactionCommand
- Direct Known Subclasses:
GlobalUpdateCommand
,HwvtepGlobalRemoveCommand
,HwvtepLogicalRouterRemoveCommand
,HwvtepLogicalRouterUpdateCommand
,HwvtepLogicalSwitchRemoveCommand
,HwvtepLogicalSwitchUpdateCommand
,HwvtepMacEntriesRemoveCommand
,HwvtepManagerRemoveCommand
,HwvtepManagerUpdateCommand
,HwvtepMcastMacsLocalUpdateCommand
,HwvtepMcastMacsRemoteUpdateCommand
,HwvtepPhysicalLocatorRemoveCommand
,HwvtepPhysicalLocatorUpdateCommand
,HwvtepPhysicalPortRemoveCommand
,HwvtepPhysicalPortUpdateCommand
,HwvtepPhysicalSwitchRemoveCommand
,HwvtepPhysicalSwitchUpdateCommand
,HwvtepTunnelRemoveCommand
,HwvtepTunnelUpdateCommand
,HwvtepUcastMacsLocalUpdateCommand
,HwvtepUcastMacsRemoteUpdateCommand
public abstract class AbstractTransactionCommand<T extends org.opendaylight.yangtools.yang.binding.DataObject>
extends Object
implements TransactionCommand
-
Field Summary
Modifier and TypeFieldDescriptionprotected Set<org.apache.commons.lang3.tuple.Pair<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier>> protected Set<org.apache.commons.lang3.tuple.Pair<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier>> protected HwvtepDeviceInfo
protected final HwvtepConnectionInstance
-
Constructor Summary
ConstructorDescriptionAbstractTransactionCommand
(HwvtepConnectionInstance key, TableUpdates updates, DatabaseSchema dbSchema) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToDeleteTx
(org.opendaylight.mdsal.binding.api.ReadWriteTransaction tx, Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid, UUID uuid) void
addToUpdateTx
(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid, UUID uuid, Object southboundData) void
clearDeviceOpUUID
(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid, UUID uuid) void
void
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.transactions.md.TransactionCommand
execute, getTransactionResultFuture, setTransactionResultFuture
-
Field Details
-
key
-
addedKeys
-
deletedKeys
-
deviceInfo
-
-
Constructor Details
-
AbstractTransactionCommand
public AbstractTransactionCommand(HwvtepConnectionInstance key, TableUpdates updates, DatabaseSchema dbSchema)
-
-
Method Details
-
getUpdates
-
getDbSchema
-
getConnectionInfo
-
getOvsdbConnectionInstance
-
getDeviceInfo
-
clearDeviceOpUUID
-
addToDeleteTx
-
addToUpdateTx
-
onSuccess
public void onSuccess()- Specified by:
onSuccess
in interfaceTransactionCommand
-
onFailure
public void onFailure()- Specified by:
onFailure
in interfaceTransactionCommand
-