Google Cloud Spanner v1 API - Class MultiplexedSessionPrecommitToken (5.0.0-beta05)

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.

Inheritance

object > MultiplexedSessionPrecommitToken

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

MultiplexedSessionPrecommitToken()

public MultiplexedSessionPrecommitToken()

MultiplexedSessionPrecommitToken(MultiplexedSessionPrecommitToken)

public MultiplexedSessionPrecommitToken(MultiplexedSessionPrecommitToken other)
Parameter
Name Description
other MultiplexedSessionPrecommitToken

Properties

PrecommitToken

public ByteString PrecommitToken { get; set; }

Opaque precommit token.

Property Value
Type Description
ByteString

SeqNum

public int SeqNum { get; set; }

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.

Property Value
Type Description
int