public sealed class MultiplexedSessionPrecommitToken : IMessage<MultiplexedSessionPrecommitToken>, IEquatable<MultiplexedSessionPrecommitToken>, IDeepCloneable<MultiplexedSessionPrecommitToken>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class MultiplexedSessionPrecommitToken.
When a read-write transaction is executed on a multiplexed session,
this precommit token is sent back to the client
as a part of the [Transaction] message in the BeginTransaction response and
also as a part of the [ResultSet] and [PartialResultSet] responses.
An incrementing seq number is generated on every precommit token
that is returned. Clients should remember the precommit token with the
highest sequence number from the current transaction attempt.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eMultiplexedSessionPrecommitToken\u003c/code\u003e class is 5.0.0-beta05, and older versions are available, ranging from 5.0.0-beta04 down to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMultiplexedSessionPrecommitToken\u003c/code\u003e is part of the Google Cloud Spanner v1 API, designed for managing read-write transactions on multiplexed sessions.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides an opaque \u003ccode\u003ePrecommitToken\u003c/code\u003e and a \u003ccode\u003eSeqNum\u003c/code\u003e to manage and identify precommit tokens during transactions, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eWhen a read-write transaction happens, a precommit token is sent back to the client in the \u003ccode\u003eBeginTransaction\u003c/code\u003e, \u003ccode\u003eResultSet\u003c/code\u003e and \u003ccode\u003ePartialResultSet\u003c/code\u003e responses.\u003c/p\u003e\n"]]],[],null,[]]