Uses of Interface
com.github.sttk.sabi.Logic
-
Uses of Logic in com.github.sttk.sabi
Methods in com.github.sttk.sabi with parameters of type LogicModifier and TypeMethodDescription<D> voidExecutes the specifiedLogicwithin the current data access context.final <D> voidExecutes the specifiedLogicusing thisDataHubas the data access instance.<D> LogicRunExecutes the specifiedLogicif no priorErrhas occurred and execution has not been blocked or terminated abnormally.<D> voidExecutes the specifiedLogicin a single non-transactional scope.<D> LogicTxnExecutes the specifiedLogicif no priorErrhas occurred and execution has not been blocked or terminated abnormally.<D> LogicRunExecutes the specifiedLogiceven if a priorLogicRun.run(Logic)orLogicRun.runForce(Logic)call recorded anErr, provided execution has not been blocked byLogicRun.runOrBlock(Logic), setup did not fail, and theDataHubis not in an abnormal state.<D> LogicTxnExecutes the specifiedLogiceven if a priorLogicTxn.run(Logic)orLogicTxn.runForce(Logic)call recorded anErr, provided execution has not been blocked byLogicTxn.runOrBlock(Logic), setup did not fail, and theDataHubis not in an abnormal state.<D> LogicRunLogicRun.runOrBlock(Logic<D> logic) Executes the specifiedLogicif no priorErrhas occurred, and blocks all subsequentLogicRun.run(Logic),LogicRun.runForce(Logic), andLogicRun.runOrBlock(Logic)calls in this chain if it throws anErr.<D> LogicTxnLogicTxn.runOrBlock(Logic<D> logic) Executes the specifiedLogicif no priorErrhas occurred, and blocks all subsequentLogicTxn.run(Logic),LogicTxn.runForce(Logic), andLogicTxn.runOrBlock(Logic)calls in this transaction if it throws anErr.<D> voidExecutes the specifiedLogicwithin a transaction, automatically handling pre-commit, commit, post-commit, rollback, and failure reporting.