Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Class and Description |
---|---|
class |
AbortedDueToConcurrentModificationException
Exception thrown by a
Connection when a database operation detects that a transaction has
aborted and an internal retry failed because of a concurrent modification. |
Modifier and Type | Method and Description |
---|---|
static AbortedDueToConcurrentModificationException |
SpannerExceptionFactory.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 AbortedDueToConcurrentModificationException |
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.
|
Modifier and Type | Method and Description |
---|---|
com.google.cloud.Timestamp |
AsyncTransactionManager.CommitTimestampFuture.get()
Returns the commit timestamp of the transaction.
|
com.google.cloud.Timestamp |
AsyncTransactionManager.CommitTimestampFuture.get(long timeout,
TimeUnit unit)
Same as
AsyncTransactionManager.CommitTimestampFuture.get() , but will throw a TimeoutException if the transaction does not
finish within the timeout. |
Copyright © 2022 Google LLC. All rights reserved.