Uses of Class
com.google.cloud.spanner.AbortedException
-
Packages that use AbortedException Package Description com.google.cloud.spanner 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.spanner Modifier and Type Class Description classAbortedDueToConcurrentModificationExceptionException 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 AbortedException Modifier and Type Method Description static AbortedDueToConcurrentModificationExceptionSpannerExceptionFactory. 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.static AbortedDueToConcurrentModificationExceptionSpannerExceptionFactory. 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 AbortedException Modifier and Type Method Description com.google.cloud.TimestampAsyncTransactionManager.CommitTimestampFuture. get()Returns the commit timestamp of the transaction.com.google.cloud.TimestampAsyncTransactionManager.CommitTimestampFuture. get(long timeout, TimeUnit unit)Same asAsyncTransactionManager.CommitTimestampFuture.get(), but will throw aTimeoutExceptionif the transaction does not finish within the timeout.
-