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 Details

    • 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 Details

  • Method Details

    • 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 interface TransactionCommand
    • onFailure

      public void onFailure()
      Specified by:
      onFailure in interface TransactionCommand