Uses of Interface
org.opendaylight.genius.infra.TypedReadWriteTransaction
-
Packages that use TypedReadWriteTransaction Package Description org.opendaylight.genius.infra Incubator package for new infrastructure utility code which will be proposed into upstream projects once merged and proven to be useful here for a while.org.opendaylight.genius.interfacemanager.commons org.opendaylight.genius.interfacemanager.renderer.ovs.confighelpers org.opendaylight.genius.interfacemanager.servicebindings.flowbased.state.helpers org.opendaylight.genius.itm.confighelpers org.opendaylight.genius.itm.impl org.opendaylight.genius.itm.itmdirecttunnels.renderer.ovs.utilities org.opendaylight.genius.itm.rpc org.opendaylight.genius.mdsalutil.interfaces org.opendaylight.genius.mdsalutil.internal -
-
Uses of TypedReadWriteTransaction in org.opendaylight.genius.infra
Methods in org.opendaylight.genius.infra with parameters of type TypedReadWriteTransaction Modifier and Type Method Description static org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction
TransactionAdapter. toReadWriteTransaction(TypedReadWriteTransaction<? extends Datastore> datastoreTx)
Deprecated.Adapts the given datastore-constrained read-write transaction to a generic read-write transaction.Method parameters in org.opendaylight.genius.infra with type arguments of type TypedReadWriteTransaction Modifier and Type Method Description <D extends Datastore,E extends java.lang.Exception,R>
com.google.common.util.concurrent.FluentFuture<R>ManagedNewTransactionRunnerImpl. applyWithNewReadWriteTransactionAndSubmit(java.lang.Class<D> datastoreType, org.opendaylight.infrautils.utils.function.InterruptibleCheckedFunction<TypedReadWriteTransaction<D>,R,E> txFunction)
<D extends Datastore,E extends java.lang.Exception,R>
com.google.common.util.concurrent.FluentFuture<R>ManagedTransactionFactory. applyWithNewReadWriteTransactionAndSubmit(java.lang.Class<D> datastoreType, org.opendaylight.infrautils.utils.function.InterruptibleCheckedFunction<TypedReadWriteTransaction<D>,R,E> txFunction)
Invokes a function with a NEWReadWriteTransaction
, and then submits that transaction and returns the Future from that submission, or cancels it if an exception was thrown and returns a failed future with that exception.<D extends Datastore,E extends java.lang.Exception>
com.google.common.util.concurrent.FluentFuture<java.lang.Void>ManagedNewTransactionRunnerImpl. callWithNewReadWriteTransactionAndSubmit(java.lang.Class<D> datastoreType, org.opendaylight.infrautils.utils.function.InterruptibleCheckedConsumer<TypedReadWriteTransaction<D>,E> txConsumer)
<D extends Datastore,E extends java.lang.Exception>
com.google.common.util.concurrent.FluentFuture<java.lang.Void>ManagedTransactionFactory. callWithNewReadWriteTransactionAndSubmit(java.lang.Class<D> datastoreType, org.opendaylight.infrautils.utils.function.InterruptibleCheckedConsumer<TypedReadWriteTransaction<D>,E> txConsumer)
Invokes a consumer with a NEWReadWriteTransaction
, and then submits that transaction and returns the Future from that submission, or cancels it if an exception was thrown and returns a failed future with that exception. -
Uses of TypedReadWriteTransaction in org.opendaylight.genius.interfacemanager.commons
Methods in org.opendaylight.genius.interfacemanager.commons with parameters of type TypedReadWriteTransaction Modifier and Type Method Description static void
InterfaceManagerCommonUtils. deleteDpnToInterface(org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.String infName, TypedReadWriteTransaction<Datastore.Operational> tx)
void
InterfaceManagerCommonUtils. removeTunnelIngressFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, IfTunnel tunnel, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String interfaceName)
-
Uses of TypedReadWriteTransaction in org.opendaylight.genius.interfacemanager.renderer.ovs.confighelpers
Methods in org.opendaylight.genius.interfacemanager.renderer.ovs.confighelpers with parameters of type TypedReadWriteTransaction Modifier and Type Method Description void
OvsInterfaceConfigRemoveHelper. removeTunnelIngressFlow(TypedReadWriteTransaction<Datastore.Configuration> confTx, java.lang.String interfaceName, IfTunnel ifTunnel, org.opendaylight.yangtools.yang.common.Uint64 dpId)
-
Uses of TypedReadWriteTransaction in org.opendaylight.genius.interfacemanager.servicebindings.flowbased.state.helpers
Methods in org.opendaylight.genius.interfacemanager.servicebindings.flowbased.state.helpers with parameters of type TypedReadWriteTransaction Modifier and Type Method Description protected abstract void
AbstractFlowBasedServicesStateBindHelper. bindServicesOnInterface(TypedReadWriteTransaction<Datastore.Configuration> tx, java.util.List<BoundServices> allServices, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifState)
void
FlowBasedEgressServicesStateBindHelper. bindServicesOnInterface(TypedReadWriteTransaction<Datastore.Configuration> tx, java.util.List<BoundServices> allServices, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifState)
void
FlowBasedIngressServicesStateBindHelper. bindServicesOnInterface(TypedReadWriteTransaction<Datastore.Configuration> tx, java.util.List<BoundServices> allServices, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifaceState)
-
Uses of TypedReadWriteTransaction in org.opendaylight.genius.itm.confighelpers
Methods in org.opendaylight.genius.itm.confighelpers with parameters of type TypedReadWriteTransaction Modifier and Type Method Description void
ItmExternalTunnelAddWorker. buildHwVtepsTunnels(java.util.List<DPNTEPsInfo> cfgdDpnList, java.util.List<HwVtep> cfgdHwVteps, TypedReadWriteTransaction<Datastore.Configuration> tx)
static void
ItmExternalTunnelDeleteWorker. deleteHwVtepsTunnels(java.util.List<DPNTEPsInfo> delDpnList, java.util.List<HwVtep> cfgdHwVteps, TransportZone originalTZone, TypedReadWriteTransaction<Datastore.Configuration> tx, ItmConfig itmConfig)
-
Uses of TypedReadWriteTransaction in org.opendaylight.genius.itm.impl
Methods in org.opendaylight.genius.itm.impl with parameters of type TypedReadWriteTransaction Modifier and Type Method Description static void
ItmUtils. addTerminatingServiceTable(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, IMdsalApiManager mdsalManager)
static void
ItmUtils. removeTerminatingServiceTable(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, IMdsalApiManager mdsalManager)
-
Uses of TypedReadWriteTransaction in org.opendaylight.genius.itm.itmdirecttunnels.renderer.ovs.utilities
Methods in org.opendaylight.genius.itm.itmdirecttunnels.renderer.ovs.utilities with parameters of type TypedReadWriteTransaction Modifier and Type Method Description void
DirectTunnelUtils. removeTunnelEgressFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String interfaceName)
void
DirectTunnelUtils. removeTunnelIngressFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String interfaceName)
-
Uses of TypedReadWriteTransaction in org.opendaylight.genius.itm.rpc
Methods in org.opendaylight.genius.itm.rpc with parameters of type TypedReadWriteTransaction Modifier and Type Method Description static java.util.List<DcGatewayIp>
ItmManagerRpcService. getDcGatewayIpList(TypedReadWriteTransaction<Datastore.Configuration> tx)
-
Uses of TypedReadWriteTransaction in org.opendaylight.genius.mdsalutil.interfaces
Methods in org.opendaylight.genius.mdsalutil.interfaces with parameters of type TypedReadWriteTransaction Modifier and Type Method Description void
IMdsalApiManager. addBucket(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, long groupId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.group.buckets.Bucket bucket)
void
IMdsalApiManager. removeBucket(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, long groupId, long bucketId)
void
IMdsalApiManager. removeFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, FlowEntity flowEntity)
Removes the given flow.void
IMdsalApiManager. removeFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.String flowId, short tableId)
Removes the given flow.void
IMdsalApiManager. removeFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow)
Removes the given flow.void
IMdsalApiManager. removeFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey flowKey, short tableId)
Removes the given flow.void
IMdsalApiManager. removeGroup(TypedReadWriteTransaction<Datastore.Configuration> tx, GroupEntity groupEntity)
Remove a group using the given transaction.void
IMdsalApiManager. removeGroup(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, long groupId)
Remove a group using the given transaction.void
IMdsalApiManager. removeGroup(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group)
Remove a group using the given transaction. -
Uses of TypedReadWriteTransaction in org.opendaylight.genius.mdsalutil.internal
Methods in org.opendaylight.genius.mdsalutil.internal with parameters of type TypedReadWriteTransaction Modifier and Type Method Description void
MDSALManager. addBucket(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, long groupId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.group.buckets.Bucket bucket)
void
MDSALManager. removeBucket(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, long groupId, long bucketId)
void
MDSALManager. removeFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, FlowEntity flowEntity)
void
MDSALManager. removeFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.String flowId, short tableId)
void
MDSALManager. removeFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow)
void
MDSALManager. removeFlow(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey flowKey, short tableId)
void
MDSALManager. removeGroup(TypedReadWriteTransaction<Datastore.Configuration> tx, GroupEntity groupEntity)
void
MDSALManager. removeGroup(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, long groupId)
void
MDSALManager. removeGroup(TypedReadWriteTransaction<Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group)
-