public interface Commitable
Commitable
support atomic changes
from one known state to another via commit/rollback semantics.void commit() throws CommitFailure
commit
commits pending changes.CommitFailure
- if an error occursvoid rollback()
rollback
reverses pending changes to restore
initial (or prior commit) state. This always succededs or raises an
unchecked exception.
If the rollback fails, you must raise an AssertionFailure.Copyright © 2014 BioJava. All rights reserved.