| 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.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Void> |
ManagedNewTransactionRunner.callWithNewReadWriteTransactionAndSubmit(CheckedConsumer<org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction> txRunner)
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. |
com.google.common.util.concurrent.ListenableFuture<Void> |
ManagedNewTransactionRunnerImpl.callWithNewReadWriteTransactionAndSubmit(CheckedConsumer<org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction> txRunner) |
com.google.common.util.concurrent.ListenableFuture<Void> |
ManagedNewTransactionRunner.callWithNewWriteOnlyTransactionAndSubmit(CheckedConsumer<org.opendaylight.controller.md.sal.binding.api.WriteTransaction> txRunner)
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. |
com.google.common.util.concurrent.ListenableFuture<Void> |
ManagedNewTransactionRunnerImpl.callWithNewWriteOnlyTransactionAndSubmit(CheckedConsumer<org.opendaylight.controller.md.sal.binding.api.WriteTransaction> txCnsmr) |
Copyright © 2018 OpenDaylight. All rights reserved.