Interface OptimisticLockingTransactionResult<I>
-
- All Superinterfaces:
Iterable<Object>
,TransactionResult
- All Known Implementing Classes:
OptimisticLockingTransactionResultImpl
public interface OptimisticLockingTransactionResult<I> extends TransactionResult
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description I
getPreTransactionResult()
Retrieves the result from the pre-transaction block-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface io.quarkus.redis.datasource.transactions.TransactionResult
discarded, get, isEmpty, size
-
-
-
-
Method Detail
-
getPreTransactionResult
I getPreTransactionResult()
Retrieves the result from the pre-transaction block- Returns:
- the value produces by the pre-transaction block
-
-