<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) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
<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) |
Deprecated, for removal: This API element is subject to removal in a future version.
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.
|
<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) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
<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) |
Deprecated, for removal: This API element is subject to removal in a future version.
Invokes a consumer 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.
|