Uses of Class
com.google.cloud.spanner.AbortedException
Packages that use AbortedException
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
-
Uses of AbortedException in com.google.cloud.spanner
Subclasses of AbortedException in com.google.cloud.spannerModifier and TypeClassDescriptionclassException thrown by aConnectionwhen a database operation detects that a transaction has aborted and an internal retry failed because of a concurrent modification.Methods in com.google.cloud.spanner with parameters of type AbortedExceptionModifier and TypeMethodDescriptionSpannerExceptionFactory.newAbortedDueToConcurrentModificationException(AbortedException cause) Constructs a specific aborted exception that should only be thrown by a connection after an internal retry aborted due to concurrent modifications.SpannerExceptionFactory.newAbortedDueToConcurrentModificationException(AbortedException cause, SpannerException databaseError) Constructs a specific aborted exception that should only be thrown by a connection after an internal retry aborted because a database call caused an exception that did not happen during the original attempt.Methods in com.google.cloud.spanner that throw AbortedExceptionModifier and TypeMethodDescriptioncom.google.cloud.TimestampAsyncTransactionManager.CommitTimestampFuture.get()Returns the commit timestamp of the transaction.com.google.cloud.TimestampSame asAsyncTransactionManager.CommitTimestampFuture.get(), but will throw aTimeoutExceptionif the transaction does not finish within the timeout.