Package com.metsci.glimpse.util.var
Interface TxnMember
-
public interface TxnMember
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidcommit()Implementations of this method must always succeed, and must never throw exceptions.default voidpostCommit()Implementations of this method may fail, and may throw exceptions.default voidrollback()Implementations of this method must always succeed, and must never throw exceptions.
-
-
-
Method Detail
-
rollback
default void rollback()
Implementations of this method must always succeed, and must never throw exceptions.
-
commit
default void commit()
Implementations of this method must always succeed, and must never throw exceptions.
-
postCommit
default void postCommit()
Implementations of this method may fail, and may throw exceptions.If an impl throws an exception, the
Txn's post-commit sequence terminates immediately, without performing any post-commit operations for subsequent members.
-
-