rollback

abstract fun rollback()

Discards any changes that have occurred since the last commit. In a 2-phase commit algorithm, where one of the objects failed to .commit or .prepareCommit, this method is used to roll all other objects back to their previous state.