@NonNullByDefault
Package 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.
- Author:
- Michael Vorburger.ch
-
Interface Summary Interface Description ManagedNewTransactionRunner Managed transactions utility to simplify handling of new transactions and ensure they are always closed.ManagedTransactionChain Managed transaction chains provide managed semantics around transaction chains, i.e. chains which provide transactions which are automatically submitted or cancelled.ManagedTransactionFactory Managed transaction factories provide managed transactions, i.e. transactions which are automatically submitted or cancelled (write) or closed (read).TypedReadTransaction<D extends Datastore> Read transaction which is specific to a single logical datastore (configuration or operational).TypedReadWriteTransaction<D extends Datastore> Read-write transaction which is specific to a single logical datastore (configuration or operational).TypedWriteTransaction<D extends Datastore> Write transaction which is specific to a single logical datastore (configuration or operational). -
Class Summary Class Description Datastore Strongly-typed representation of a datastore (configuration or operational).Datastore.Configuration Datastore.Operational ManagedNewTransactionRunnerImpl Implementation ofManagedNewTransactionRunner
.RetryingManagedNewTransactionRunner Implementation ofManagedNewTransactionRunner
with automatic transparent retries on transaction failure (OptimisticLockFailedException
on write transactions andReadFailedException
on read transactions will cause the operation constructing the transaction to be re-run).TransactionAdapter Deprecated. -
Annotation Types Summary Annotation Type Description OpenDaylightImmutableStyle Immutables.org style meta annotation.