Interface TransactionManager (2.15.3)

public interface TransactionManager extends AutoCloseable

Implements

AutoCloseable

Methods

begin()

public abstract TransactionContext begin()
Returns
TypeDescription
TransactionContext

close()

public abstract void close()

commit()

public abstract void commit()

getCommitResponse()

public abstract CommitResponse getCommitResponse()
Returns
TypeDescription
CommitResponse

getCommitTimestamp()

public abstract Timestamp getCommitTimestamp()
Returns
TypeDescription
com.google.cloud.Timestamp

getState()

public abstract TransactionManager.TransactionState getState()
Returns
TypeDescription
TransactionState

resetForRetry()

public abstract TransactionContext resetForRetry()
Returns
TypeDescription
TransactionContext

rollback()

public abstract void rollback()