Uses of Interface
com.google.cloud.spanner.TransactionContext
-
Packages that use TransactionContext Package Description com.google.cloud.spanner 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 TransactionContext Modifier and Type Method Description TransactionContextTransactionManager. begin()Creates a new read write transaction.TransactionContextTransactionManager. resetForRetry()Creates a new transaction for retry.Methods in com.google.cloud.spanner with parameters of type TransactionContext Modifier and Type Method Description com.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.TTransactionRunner.TransactionCallable. run(TransactionContext transaction)Invoked by the library framework to perform a single attempt of a transaction.
-