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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides reference documentation for the `ResourcesExhaustedBehavior` enum within the Google Cloud Spanner v1 API, specifically for version 4.6.0, with links to other versions."],["The `ResourcesExhaustedBehavior` enum defines how operations should behave when the `MaximumActiveSessions` limit is reached in Spanner."],["There are two possible values for the `ResourcesExhaustedBehavior` enum: `Block`, which blocks the operation until a session is available, and `Fail`, which immediately fails the operation with a `ResourceExhausted` error."],["The documentation also includes links for the enum resource in previous versions of the Spanner API going back to version 3.5.0, and up to the latest beta version 5.0.0-beta05."]]],[]]