Interface OptimisticLockingTransactionResult<I>
- All Superinterfaces:
Iterable<Object>
,TransactionResult
- All Known Implementing Classes:
OptimisticLockingTransactionResultImpl
A structure holding the result of the commands executed in a transaction. Note that the result are ordered, and the
(0-based) index of the command must be used to retrieve the result of a specific command.
In addition, it provides the rerult from the pre-transaction block.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the result from the pre-transaction blockMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface io.quarkus.redis.datasource.transactions.TransactionResult
discarded, get, isEmpty, size
-
Method Details
-
getPreTransactionResult
I getPreTransactionResult()Retrieves the result from the pre-transaction block- Returns:
- the value produces by the pre-transaction block
-