Interface TransactionManager (2.20.2)

public interface TransactionManager extends AutoCloseable

Implements

AutoCloseable

Methods

begin()

public abstract TransactionContext begin()
Returns
Type Description
TransactionContext

close()

public abstract void close()

commit()

public abstract void commit()

getCommitResponse()

public abstract CommitResponse getCommitResponse()
Returns
Type Description
CommitResponse

getCommitTimestamp()

public abstract Timestamp getCommitTimestamp()
Returns
Type Description
com.google.cloud.Timestamp

getState()

public abstract TransactionManager.TransactionState getState()
Returns
Type Description
TransactionState

resetForRetry()

public abstract TransactionContext resetForRetry()
Returns
Type Description
TransactionContext

rollback()

public abstract void rollback()