Package | Description |
---|---|
org.opendaylight.mdsal.binding.util |
Modifier and Type | Method and Description |
---|---|
<D extends Datastore,E extends Exception,R> |
ManagedTransactionFactory.applyInterruptiblyWithNewReadOnlyTransactionAndClose(Class<D> datastoreType,
InterruptibleCheckedFunction<TypedReadTransaction<D>,R,E> txFunction)
Invokes a function with a NEW
TypedReadTransaction , and ensures that that transaction is closed. |
<D extends Datastore,E extends Exception,R> |
ManagedNewTransactionRunnerImpl.applyWithNewReadWriteTransactionAndSubmit(Class<D> datastoreType,
InterruptibleCheckedFunction<TypedReadWriteTransaction<D>,R,E> txFunction) |
<D extends Datastore,E extends Exception,R> |
ManagedTransactionFactory.applyWithNewReadWriteTransactionAndSubmit(Class<D> datastoreType,
InterruptibleCheckedFunction<TypedReadWriteTransaction<D>,R,E> txFunction)
Invokes a function with a NEW
ReadWriteTransaction , 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. |
Copyright © 2019 OpenDaylight. All rights reserved.