Uses of Interface
com.google.cloud.spanner.TransactionContext
Packages that use TransactionContext
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
-
Uses of TransactionContext in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return TransactionContextModifier and TypeMethodDescriptionTransactionManager.begin()Creates a new read write transaction.TransactionManager.begin(AbortedException exception) Initializes a new read-write transaction that is a retry of a previously aborted transaction.TransactionManager.resetForRetry()Creates a new transaction for retry.Methods in com.google.cloud.spanner with parameters of type TransactionContextModifier and TypeMethodDescriptioncom.google.api.core.ApiFuture<O>AsyncTransactionManager.AsyncTransactionFunction.apply(TransactionContext txn, I input) This method is called when this transaction step is executed.com.google.api.core.ApiFuture<R>AsyncRunner.AsyncWork.doWorkAsync(TransactionContext txn) Performs a single transaction attempt.TransactionRunner.TransactionCallable.run(TransactionContext transaction) Invoked by the library framework to perform a single attempt of a transaction.