Package com.github.sttk.sabi
package com.github.sttk.sabi
Provides core interfaces and classes for the sabi framework.
- Version:
- 0.10
-
ClassDescriptionManages asynchronous background tasks executed during data source and data connection lifecycle events.Functional interface representing an asynchronous unit of work registered with an
AsyncGroup.Represents error reasons that can occur while running tasks in anAsyncGroup.Indicates that an unhandledRuntimeExceptionwas thrown during task execution.Indicates that waiting for an asynchronous task to complete was interrupted.Provides access to namedDataConninstances and nested logic execution within a data access scope.Represents a data connection participating in transaction lifecycles managed by aDataHub.Represents error reasons related toDataConnoperations such as committing and casting.Indicates that a cached data connection could not be cast to the requested type.Indicates that one or more data connections failed during the commit phase.Indicates that one or more data connections failed during the post-commit phase.Indicates that one or more data connections failed during the pre-commit phase.Manages data sources and data connections for executing business logic.Represents error reasons produced byDataHub,Globals,LogicRunner,LogicRun, andLogicTxnoperations.Indicates that theDataHubis in an abnormal state after an unhandledRuntimeExceptionorErrorcaused an abnormal termination.Indicates that setting up one or more global data sources failed.Indicates that setting up one or more local data sources failed.Indicates that no data source was found for the requested data connection name.Represents a data source corresponding to an external resource, serving as a factory forDataConninstances or managing a connection pool.Indicates thatDataSrc.createDataConn()returnednull.Indicates that a newly created data connection could not be cast to the requested type.Indicates thatDataSrc.createDataConn()threw an exception.Associates anErrwith the positional index and name of the data source, data connection, or logic invocation where the error occurred.Manages globalDataSrcregistrations and their lifecycle for the sabi framework.Logic<D>Functional interface representing a unit of business logic executed with a data access interface.Executes a sequence ofLogicunits in a non-transactional scope.Executes a sequence ofLogicunits within a single transaction scope.Represents error reasons recorded when an unhandledRuntimeExceptionorErroroccurs during a transaction.Indicates that an unhandledRuntimeExceptionoccurred during transaction execution.Represents the cause of a transaction failure for a data connection, containing state information and the associated error.Defines the states representing causes of transaction failures or non-failing statuses.Defines recommended recovery actions to handle transaction failures.Reports the failure cause and rollback outcome for a singleDataConnwhen a transaction fails.Represents the rollback outcome of a data connection during transaction failure processing.Defines the rollback states of a data connection following a transaction failure.