Google Cloud Spanner v1 API - Enum ResourcesExhaustedBehavior (5.0.0-beta03)

public enum ResourcesExhaustedBehavior

Reference documentation and code samples for the Google Cloud Spanner v1 API enum ResourcesExhaustedBehavior.

Specifies the behavior when MaximumActiveSessions is reached.

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Fields

NameDescription
Block

The operation is blocked until a currently running operation completes and releases its Spanner session. If the operation is synchronous, the thread will be blocked until it can complete. If the operation is asynchronous, it will be completed on the threadpool when resources become available.

Fail

The operation will fail with an exception with the ErrorCode set to ResourceExhausted.