@ Override public void rollback ( ) { for ( ResourceManager < Transaction > manager : managers . values ( ) ) { Transaction transaction = manager . transaction ( ) ; if ( transaction . isActive ( ) ) { try { transaction . rollback ( ) ; } catch ( Exception e ) { logger . warning ( "Transaction [" + transaction . getId ( ) + "]: Rollback failed due to [" + e + "]; Consistency will be ensured in read" ) ; } } } }
Rolls back every operation in the current transaction .