- Type Parameters:
T- the return type of this work.
Deprecated.
Callback that executes operations against a given
AsyncTransaction. To be used with AsyncSession.readTransactionAsync(AsyncTransactionWork)
and AsyncSession.writeTransactionAsync(AsyncTransactionWork) (AsyncTransactionWork)} methods.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Executes all given operations against the same transaction.
-
Method Details
-
execute
Deprecated.Executes all given operations against the same transaction.- Parameters:
tx- the transaction to use.- Returns:
- some result object or
nullif none.
-
AsyncTransactionCallback.