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
Fields Modifier and Type Field Description protected Set<org.apache.commons.lang3.tuple.Pair<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,org.opendaylight.yangtools.yang.binding.InstanceIdentifier>>
addedKeys
protected Set<org.apache.commons.lang3.tuple.Pair<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,org.opendaylight.yangtools.yang.binding.InstanceIdentifier>>
deletedKeys
protected HwvtepDeviceInfo
deviceInfo
protected HwvtepConnectionInstance
key
-
Constructor Summary
Constructors Constructor Description AbstractTransactionCommand(HwvtepConnectionInstance key, TableUpdates updates, DatabaseSchema dbSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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)
ConnectionInfo
getConnectionInfo()
DatabaseSchema
getDbSchema()
HwvtepDeviceInfo
getDeviceInfo()
HwvtepConnectionInstance
getOvsdbConnectionInstance()
TableUpdates
getUpdates()
void
onFailure()
void
onSuccess()
-
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 Detail
-
key
protected final HwvtepConnectionInstance key
-
addedKeys
protected Set<org.apache.commons.lang3.tuple.Pair<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,org.opendaylight.yangtools.yang.binding.InstanceIdentifier>> addedKeys
-
deletedKeys
protected Set<org.apache.commons.lang3.tuple.Pair<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,org.opendaylight.yangtools.yang.binding.InstanceIdentifier>> deletedKeys
-
deviceInfo
protected HwvtepDeviceInfo deviceInfo
-
-
Constructor Detail
-
AbstractTransactionCommand
public AbstractTransactionCommand(HwvtepConnectionInstance key, TableUpdates updates, DatabaseSchema dbSchema)
-
-
Method Detail
-
getUpdates
public TableUpdates getUpdates()
-
getDbSchema
public DatabaseSchema getDbSchema()
-
getConnectionInfo
public ConnectionInfo getConnectionInfo()
-
getOvsdbConnectionInstance
public HwvtepConnectionInstance getOvsdbConnectionInstance()
-
getDeviceInfo
public HwvtepDeviceInfo getDeviceInfo()
-
clearDeviceOpUUID
public void clearDeviceOpUUID(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid, UUID uuid)
-
addToDeleteTx
public void 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)
-
addToUpdateTx
public void addToUpdateTx(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid, UUID uuid, Object southboundData)
-
onSuccess
public void onSuccess()
- Specified by:
onSuccess
in interfaceTransactionCommand
-
onFailure
public void onFailure()
- Specified by:
onFailure
in interfaceTransactionCommand
-
-