Class CommitResponse (6.80.1)

public class CommitResponse

Represents a response from a commit operation.

Inheritance

Object > CommitResponse

Constructors

CommitResponse(Timestamp commitTimestamp)

public CommitResponse(Timestamp commitTimestamp)
Parameter
Name Description
commitTimestamp com.google.cloud.Timestamp

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getCommitStats()

public CommitStats getCommitStats()

Commit statistics are returned by a read/write transaction if specifically requested by passing in Options#commitStats() to the transaction.

Returns
Type Description
CommitStats

getCommitTimestamp()

public Timestamp getCommitTimestamp()

Returns a Timestamp representing the commit time of the transaction.

Returns
Type Description
com.google.cloud.Timestamp

hasCommitStats()

public boolean hasCommitStats()
Returns
Type Description
boolean

true if the CommitResponse includes CommitStats

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides