Interface AsyncTransactionManager (2.25.1)

public interface AsyncTransactionManager extends AutoCloseable

Implements

AutoCloseable

Methods

beginAsync()

public abstract AsyncTransactionManager.TransactionContextFuture beginAsync()
Returns
Type Description
TransactionContextFuture

close()

public abstract void close()

closeAsync()

public abstract ApiFuture<Void> closeAsync()
Returns
Type Description
ApiFuture<Void>

getCommitResponse()

public abstract ApiFuture<CommitResponse> getCommitResponse()
Returns
Type Description
ApiFuture<CommitResponse>

getState()

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

resetForRetryAsync()

public abstract AsyncTransactionManager.TransactionContextFuture resetForRetryAsync()
Returns
Type Description
TransactionContextFuture

rollbackAsync()

public abstract ApiFuture<Void> rollbackAsync()
Returns
Type Description
ApiFuture<Void>