<D extends Datastore,E extends java.lang.Exception,R> R |
ManagedTransactionFactory.applyWithNewReadOnlyTransactionAndClose(java.lang.Class<D> datastoreType,
org.opendaylight.infrautils.utils.function.InterruptibleCheckedFunction<TypedReadTransaction<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> |
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> void |
ManagedTransactionFactory.callWithNewReadOnlyTransactionAndClose(java.lang.Class<D> datastoreType,
org.opendaylight.infrautils.utils.function.InterruptibleCheckedConsumer<TypedReadTransaction<D>,E> txConsumer) |
Deprecated, for removal: This API element is subject to removal in a future version.
Invokes a function with a NEW ReadTransaction , and ensures that that transaction is closed.
|
<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.
|
<D extends Datastore,E extends java.lang.Exception> com.google.common.util.concurrent.FluentFuture<java.lang.Void> |
ManagedNewTransactionRunnerImpl.callWithNewWriteOnlyTransactionAndSubmit(java.lang.Class<D> datastoreType,
org.opendaylight.infrautils.utils.function.InterruptibleCheckedConsumer<TypedWriteTransaction<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.callWithNewWriteOnlyTransactionAndSubmit(java.lang.Class<D> datastoreType,
org.opendaylight.infrautils.utils.function.InterruptibleCheckedConsumer<TypedWriteTransaction<D>,E> txConsumer) |
Deprecated, for removal: This API element is subject to removal in a future version.
Invokes a consumer with a NEW WriteTransaction , 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.
|