Index
All Classes and Interfaces|All Packages
A
- abend() - Method in interface com.github.sttk.sabi.DataConn
-
Terminates this connection abnormally when an unrecoverable
RuntimeExceptionorErroroccurs. - AbnormalState() - Constructor for record class com.github.sttk.sabi.DataHubError.AbnormalState
-
Creates an instance of a
AbnormalStaterecord class. - add(AsyncGroup.Task) - Method in class com.github.sttk.sabi.AsyncGroup
-
Adds a task to be executed asynchronously on a virtual thread within this group.
- AsyncGroup - Class in com.github.sttk.sabi
-
Manages asynchronous background tasks executed during data source and data connection lifecycle events.
- AsyncGroup.Task - Interface in com.github.sttk.sabi
-
Functional interface representing an asynchronous unit of work registered with an
AsyncGroup. - AsyncGroupError - Interface in com.github.sttk.sabi
-
Represents error reasons that can occur while running tasks in an
AsyncGroup. - AsyncGroupError.ErrorOccurred - Record Class in com.github.sttk.sabi
- AsyncGroupError.RuntimeExceptionOccurred - Record Class in com.github.sttk.sabi
-
Indicates that an unhandled
RuntimeExceptionwas thrown during task execution. - AsyncGroupError.TaskInterrupted - Record Class in com.github.sttk.sabi
-
Indicates that waiting for an asynchronous task to complete was interrupted.
B
- beginTxn() - Method in class com.github.sttk.sabi.LogicRunner
-
Begins a sequential transactional
LogicTxnchain.
C
- cause - Variable in class com.github.sttk.sabi.TxnFailureReport
-
The cause of the transaction failure for this connection.
- close() - Method in interface com.github.sttk.sabi.DataConn
-
Closes and disposes of this data connection, releasing any held resources.
- close() - Method in class com.github.sttk.sabi.DataHub
-
Closes all managed data connections and local data sources held by this
DataHub. - close() - Method in interface com.github.sttk.sabi.DataSrc
-
Closes this data source and releases any resources or connection pools it manages.
- close() - Method in class com.github.sttk.sabi.LogicRunner
-
Closes the underlying
DataHuband releases all local data sources and connections. - com.github.sttk.sabi - module com.github.sttk.sabi
-
Defines the module APIs of the Sabi framework.
- com.github.sttk.sabi - package com.github.sttk.sabi
-
Provides core interfaces and classes for the sabi framework.
- commit(AsyncGroup) - Method in interface com.github.sttk.sabi.DataConn
-
Commits changes made through this connection.
- CommitFailure - Enum constant in enum class com.github.sttk.sabi.TxnFailureCauseState
-
Indicates that the transaction failed during the commit phase of a connection.
- createDataConn() - Method in interface com.github.sttk.sabi.DataSrc
-
Creates a new
DataConninstance backed by this data source. - CreateDataConnIsNull(String, String) - Constructor for record class com.github.sttk.sabi.DataSrcError.CreateDataConnIsNull
-
Creates an instance of a
CreateDataConnIsNullrecord class.
D
- DataAcc - Interface in com.github.sttk.sabi
-
Provides access to named
DataConninstances and nested logic execution within a data access scope. - DataConn - Interface in com.github.sttk.sabi
-
Represents a data connection participating in transaction lifecycles managed by a
DataHub. - DataConnError - Interface in com.github.sttk.sabi
-
Represents error reasons related to
DataConnoperations such as committing and casting. - DataConnError.FailToCastDataConn - Record Class in com.github.sttk.sabi
-
Indicates that a cached data connection could not be cast to the requested type.
- DataConnError.FailToCommitDataConn - Record Class in com.github.sttk.sabi
-
Indicates that one or more data connections failed during the commit phase.
- DataConnError.FailToPostCommitDataConn - Record Class in com.github.sttk.sabi
-
Indicates that one or more data connections failed during the post-commit phase.
- DataConnError.FailToPreCommitDataConn - Record Class in com.github.sttk.sabi
-
Indicates that one or more data connections failed during the pre-commit phase.
- dataConnName - Variable in class com.github.sttk.sabi.TxnFailureReport
-
The logical name of the data connection.
- dataConnType - Variable in class com.github.sttk.sabi.TxnFailureReport
-
The fully qualified class name of the data connection.
- DataHub - Class in com.github.sttk.sabi
-
Manages data sources and data connections for executing business logic.
- DataHub() - Constructor for class com.github.sttk.sabi.DataHub
-
Constructs a new
DataHubinheriting ready global data sources. - DataHub(String...) - Constructor for class com.github.sttk.sabi.DataHub
-
Constructs a new
DataHubwith a predefined order for managing named data connections. - DataHubError - Interface in com.github.sttk.sabi
-
Represents error reasons produced by
DataHub,Globals,LogicRunner,LogicRun, andLogicTxnoperations. - DataHubError.AbnormalState - Record Class in com.github.sttk.sabi
-
Indicates that the
DataHubis in an abnormal state after an unhandledRuntimeExceptionorErrorcaused an abnormal termination. - DataHubError.FailToRunLogic - Record Class in com.github.sttk.sabi
- DataHubError.FailToSetupGlobalDataSrcs - Record Class in com.github.sttk.sabi
-
Indicates that setting up one or more global data sources failed.
- DataHubError.FailToSetupLocalDataSrcs - Record Class in com.github.sttk.sabi
-
Indicates that setting up one or more local data sources failed.
- DataHubError.NoDataSrcToCreateDataConn - Record Class in com.github.sttk.sabi
-
Indicates that no data source was found for the requested data connection name.
- DataSrc - Interface in com.github.sttk.sabi
-
Represents a data source corresponding to an external resource, serving as a factory for
DataConninstances or managing a connection pool. - DataSrcError - Interface in com.github.sttk.sabi
- DataSrcError.CreateDataConnIsNull - Record Class in com.github.sttk.sabi
-
Indicates that
DataSrc.createDataConn()returnednull. - DataSrcError.FailToCastCreatedDataConn - Record Class in com.github.sttk.sabi
-
Indicates that a newly created data connection could not be cast to the requested type.
- DataSrcError.FailToCreateDataConn - Record Class in com.github.sttk.sabi
-
Indicates that
DataSrc.createDataConn()threw an exception. - disuses(String) - Method in class com.github.sttk.sabi.LogicRunner
-
Unregisters the data source associated with the specified name if execution has not yet begun.
E
- end() - Method in class com.github.sttk.sabi.LogicRun
-
Completes this
LogicRunsequence, closing connections created during a top-level run and throwing anErrif setup failed, any chained logic failed, or theDataHubis in an abnormal state. - endTxn() - Method in class com.github.sttk.sabi.LogicTxn
-
Completes this transaction by committing all connections if no errors occurred, or rolling back uncommitted connections and closing resources otherwise.
- equals(Object) - Method in record class com.github.sttk.sabi.AsyncGroupError.ErrorOccurred
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.AsyncGroupError.RuntimeExceptionOccurred
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.AsyncGroupError.TaskInterrupted
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataConnError.FailToCastDataConn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataConnError.FailToCommitDataConn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataConnError.FailToPostCommitDataConn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataConnError.FailToPreCommitDataConn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataHubError.AbnormalState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataHubError.FailToRunLogic
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataHubError.FailToSetupGlobalDataSrcs
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataHubError.FailToSetupLocalDataSrcs
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataHubError.NoDataSrcToCreateDataConn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataSrcError.CreateDataConnIsNull
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataSrcError.FailToCastCreatedDataConn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.DataSrcError.FailToCreateDataConn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.ErrEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.LogicTxnError.ErrorOccurred
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.sttk.sabi.LogicTxnError.RuntimeExceptionOccurred
-
Indicates whether some other object is "equal to" this one.
- err - Variable in class com.github.sttk.sabi.TxnFailureCause
-
The error instance associated with the transaction failure, or
nullif none. - err - Variable in class com.github.sttk.sabi.TxnFailureRollback
-
The error instance associated with a rollback failure, or
nullif none. - err() - Method in record class com.github.sttk.sabi.ErrEntry
-
Returns the value of the
errrecord component. - ErrEntry - Record Class in com.github.sttk.sabi
-
Associates an
Errwith the positional index and name of the data source, data connection, or logic invocation where the error occurred. - ErrEntry(int, String, Err) - Constructor for record class com.github.sttk.sabi.ErrEntry
-
Creates an instance of a
ErrEntryrecord class. - ErrorOccurred() - Constructor for record class com.github.sttk.sabi.AsyncGroupError.ErrorOccurred
-
Creates an instance of a
ErrorOccurredrecord class. - ErrorOccurred() - Constructor for record class com.github.sttk.sabi.LogicTxnError.ErrorOccurred
-
Creates an instance of a
ErrorOccurredrecord class. - errors() - Method in record class com.github.sttk.sabi.DataConnError.FailToCommitDataConn
-
Returns the value of the
errorsrecord component. - errors() - Method in record class com.github.sttk.sabi.DataConnError.FailToPostCommitDataConn
-
Returns the value of the
errorsrecord component. - errors() - Method in record class com.github.sttk.sabi.DataConnError.FailToPreCommitDataConn
-
Returns the value of the
errorsrecord component. - errors() - Method in record class com.github.sttk.sabi.DataHubError.FailToRunLogic
-
Returns the value of the
errorsrecord component. - errors() - Method in record class com.github.sttk.sabi.DataHubError.FailToSetupGlobalDataSrcs
-
Returns the value of the
errorsrecord component. - errors() - Method in record class com.github.sttk.sabi.DataHubError.FailToSetupLocalDataSrcs
-
Returns the value of the
errorsrecord component. - execute() - Method in interface com.github.sttk.sabi.AsyncGroup.Task
-
Executes the asynchronous task.
F
- FailToCastCreatedDataConn(String, String, String) - Constructor for record class com.github.sttk.sabi.DataSrcError.FailToCastCreatedDataConn
-
Creates an instance of a
FailToCastCreatedDataConnrecord class. - FailToCastDataConn(String, String, String) - Constructor for record class com.github.sttk.sabi.DataConnError.FailToCastDataConn
-
Creates an instance of a
FailToCastDataConnrecord class. - FailToCommitDataConn(List) - Constructor for record class com.github.sttk.sabi.DataConnError.FailToCommitDataConn
-
Creates an instance of a
FailToCommitDataConnrecord class. - FailToCreateDataConn(String, String) - Constructor for record class com.github.sttk.sabi.DataSrcError.FailToCreateDataConn
-
Creates an instance of a
FailToCreateDataConnrecord class. - FailToPostCommitDataConn(List) - Constructor for record class com.github.sttk.sabi.DataConnError.FailToPostCommitDataConn
-
Creates an instance of a
FailToPostCommitDataConnrecord class. - FailToPreCommitDataConn(List) - Constructor for record class com.github.sttk.sabi.DataConnError.FailToPreCommitDataConn
-
Creates an instance of a
FailToPreCommitDataConnrecord class. - FailToRunLogic(List) - Constructor for record class com.github.sttk.sabi.DataHubError.FailToRunLogic
-
Creates an instance of a
FailToRunLogicrecord class. - FailToSetupGlobalDataSrcs(List) - Constructor for record class com.github.sttk.sabi.DataHubError.FailToSetupGlobalDataSrcs
-
Creates an instance of a
FailToSetupGlobalDataSrcsrecord class. - FailToSetupLocalDataSrcs(List) - Constructor for record class com.github.sttk.sabi.DataHubError.FailToSetupLocalDataSrcs
-
Creates an instance of a
FailToSetupLocalDataSrcsrecord class. - fromTypeName() - Method in record class com.github.sttk.sabi.DataConnError.FailToCastDataConn
-
Returns the value of the
fromTypeNamerecord component. - fromTypeName() - Method in record class com.github.sttk.sabi.DataSrcError.FailToCastCreatedDataConn
-
Returns the value of the
fromTypeNamerecord component.
G
- getDataConn(String, Class) - Method in interface com.github.sttk.sabi.DataAcc
-
Retrieves a data connection associated with the specified data source name and casts it to the requested connection class type.
- getDataConn(String, Class) - Method in class com.github.sttk.sabi.DataHub
-
Retrieves a data connection associated with the specified data source name and casts it to the requested connection class type.
- Globals - Class in com.github.sttk.sabi
-
Manages global
DataSrcregistrations and their lifecycle for the sabi framework.
H
- hashCode() - Method in record class com.github.sttk.sabi.AsyncGroupError.ErrorOccurred
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.AsyncGroupError.RuntimeExceptionOccurred
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.AsyncGroupError.TaskInterrupted
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataConnError.FailToCastDataConn
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataConnError.FailToCommitDataConn
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataConnError.FailToPostCommitDataConn
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataConnError.FailToPreCommitDataConn
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataHubError.AbnormalState
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataHubError.FailToRunLogic
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataHubError.FailToSetupGlobalDataSrcs
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataHubError.FailToSetupLocalDataSrcs
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataHubError.NoDataSrcToCreateDataConn
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataSrcError.CreateDataConnIsNull
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataSrcError.FailToCastCreatedDataConn
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.DataSrcError.FailToCreateDataConn
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.ErrEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.LogicTxnError.ErrorOccurred
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.sttk.sabi.LogicTxnError.RuntimeExceptionOccurred
-
Returns a hash code value for this object.
I
- index() - Method in record class com.github.sttk.sabi.ErrEntry
-
Returns the value of the
indexrecord component. - InvestigateBecauseImpossible - Enum constant in enum class com.github.sttk.sabi.TxnFailureRecovery
-
Indicates an impossible state occurred that requires investigation.
- isCauseOfFailure() - Method in class com.github.sttk.sabi.TxnFailureReport
-
Determines whether this connection was a direct cause of the transaction failure.
- isCommitted() - Method in interface com.github.sttk.sabi.DataConn
-
Checks whether this connection has been committed.
L
- Logic<D> - Interface in com.github.sttk.sabi
-
Functional interface representing a unit of business logic executed with a data access interface.
- LogicFailure - Enum constant in enum class com.github.sttk.sabi.TxnFailureCauseState
-
Indicates that the transaction failed due to an error during logic execution.
- LogicRun - Class in com.github.sttk.sabi
-
Executes a sequence of
Logicunits in a non-transactional scope. - LogicRunner - Class in com.github.sttk.sabi
- LogicTxn - Class in com.github.sttk.sabi
-
Executes a sequence of
Logicunits within a single transaction scope. - LogicTxnError - Interface in com.github.sttk.sabi
-
Represents error reasons recorded when an unhandled
RuntimeExceptionorErroroccurs during a transaction. - LogicTxnError.ErrorOccurred - Record Class in com.github.sttk.sabi
- LogicTxnError.RuntimeExceptionOccurred - Record Class in com.github.sttk.sabi
-
Indicates that an unhandled
RuntimeExceptionoccurred during transaction execution.
M
- ManualRollbackRequired - Enum constant in enum class com.github.sttk.sabi.TxnFailureRecovery
-
Indicates that manual intervention is required to roll back changes.
N
- name() - Method in record class com.github.sttk.sabi.DataConnError.FailToCastDataConn
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.sttk.sabi.DataHubError.NoDataSrcToCreateDataConn
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.sttk.sabi.DataSrcError.CreateDataConnIsNull
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.sttk.sabi.DataSrcError.FailToCastCreatedDataConn
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.sttk.sabi.DataSrcError.FailToCreateDataConn
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.sttk.sabi.ErrEntry
-
Returns the value of the
namerecord component. - NoActionRequired - Enum constant in enum class com.github.sttk.sabi.TxnFailureRecovery
-
Indicates that no recovery action is required.
- NoDataSrcToCreateDataConn(String, String) - Constructor for record class com.github.sttk.sabi.DataHubError.NoDataSrcToCreateDataConn
-
Creates an instance of a
NoDataSrcToCreateDataConnrecord class. - NoneByCommitted - Enum constant in enum class com.github.sttk.sabi.TxnFailureCauseState
-
Indicates no failure occurred on this connection and it was committed successfully.
- NoneByNotRolledBack - Enum constant in enum class com.github.sttk.sabi.TxnFailureRollbackState
-
Indicates that rollback was not performed (for example, because the connection had already committed).
- NoneByRolledBack - Enum constant in enum class com.github.sttk.sabi.TxnFailureRollbackState
-
Indicates that the connection was rolled back without error.
- NoneByUncommitted - Enum constant in enum class com.github.sttk.sabi.TxnFailureCauseState
-
Indicates no failure occurred on this connection and it remained uncommitted.
O
- onTxnFailure(AsyncGroup, List) - Method in interface com.github.sttk.sabi.DataConn
-
Notifies this connection of a transaction failure with detailed failure reports.
P
- postCommit(AsyncGroup) - Method in interface com.github.sttk.sabi.DataConn
-
Performs post-commit operations after all connections in a transaction have successfully committed.
- PostCommitFailure - Enum constant in enum class com.github.sttk.sabi.TxnFailureCauseState
-
Indicates that the transaction failed during the post-commit phase of a connection.
- preCommit(AsyncGroup) - Method in interface com.github.sttk.sabi.DataConn
-
Prepares this connection for commit prior to the main commit phase.
- PreCommitFailure - Enum constant in enum class com.github.sttk.sabi.TxnFailureCauseState
-
Indicates that the transaction failed during the pre-commit phase of a connection.
R
- recoveryForCommit() - Method in class com.github.sttk.sabi.TxnFailureReport
-
Determines the recommended recovery strategy if the intent is to re-attempt and complete the transaction commit.
- recoveryForRollback() - Method in class com.github.sttk.sabi.TxnFailureReport
-
Determines the recommended recovery strategy if the intent is to cancel and roll back the transaction.
- RerunLogicAndCommit - Enum constant in enum class com.github.sttk.sabi.TxnFailureRecovery
-
Indicates that the logic should be rerun and committed again without further changes.
- ResolveCauseAndInconsistency - Enum constant in enum class com.github.sttk.sabi.TxnFailureRecovery
-
Indicates that both the root cause and any resulting data inconsistency must be resolved.
- ResolveCauseThenRerunLogicAndCommit - Enum constant in enum class com.github.sttk.sabi.TxnFailureRecovery
-
Indicates that the root cause must be resolved before rerunning logic and committing.
- ResolveCauseThenRerunPostCommit - Enum constant in enum class com.github.sttk.sabi.TxnFailureRecovery
-
Indicates that the root cause must be resolved before rerunning the post-commit phase.
- rollback - Variable in class com.github.sttk.sabi.TxnFailureReport
-
The rollback outcome for this connection.
- rollback(AsyncGroup) - Method in interface com.github.sttk.sabi.DataConn
-
Rolls back changes made through this connection.
- RollbackFailure - Enum constant in enum class com.github.sttk.sabi.TxnFailureRollbackState
-
Indicates that rolling back the connection failed.
- run(Logic) - Method in interface com.github.sttk.sabi.DataAcc
-
Executes the specified
Logicwithin the current data access context. - run(Logic) - Method in class com.github.sttk.sabi.DataHub
-
Executes the specified
Logicusing thisDataHubas the data access instance. - run(Logic) - Method in class com.github.sttk.sabi.LogicRun
-
Executes the specified
Logicif no priorErrhas occurred and execution has not been blocked or terminated abnormally. - run(Logic) - Method in class com.github.sttk.sabi.LogicRunner
-
Executes the specified
Logicin a single non-transactional scope. - run(Logic) - Method in class com.github.sttk.sabi.LogicTxn
-
Executes the specified
Logicif no priorErrhas occurred and execution has not been blocked or terminated abnormally. - run(D) - Method in interface com.github.sttk.sabi.Logic
-
Executes the business logic using the provided data access instance.
- runForce(Logic) - Method in class com.github.sttk.sabi.LogicRun
-
Executes the specified
Logiceven 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. - runForce(Logic) - Method in class com.github.sttk.sabi.LogicTxn
-
Executes the specified
Logiceven 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. - runOrBlock(Logic) - Method in class com.github.sttk.sabi.LogicRun
-
Executes the specified
Logicif no priorErrhas occurred, and blocks all subsequentLogicRun.run(Logic),LogicRun.runForce(Logic), andLogicRun.runOrBlock(Logic)calls in this chain if it throws anErr. - runOrBlock(Logic) - Method in class com.github.sttk.sabi.LogicTxn
-
Executes the specified
Logicif no priorErrhas occurred, and blocks all subsequentLogicTxn.run(Logic),LogicTxn.runForce(Logic), andLogicTxn.runOrBlock(Logic)calls in this transaction if it throws anErr. - RuntimeExceptionOccurred() - Constructor for record class com.github.sttk.sabi.AsyncGroupError.RuntimeExceptionOccurred
-
Creates an instance of a
RuntimeExceptionOccurredrecord class. - RuntimeExceptionOccurred() - Constructor for record class com.github.sttk.sabi.LogicTxnError.RuntimeExceptionOccurred
-
Creates an instance of a
RuntimeExceptionOccurredrecord class.
S
- setup() - Static method in class com.github.sttk.sabi.Globals
-
Fixes global data source registrations and initializes all registered global
DataSrcinstances in registration order. - setup(AsyncGroup) - Method in interface com.github.sttk.sabi.DataSrc
-
Sets up this data source before connections are created from it.
- setupWithOrder(String...) - Static method in class com.github.sttk.sabi.Globals
-
Fixes global data source registrations and initializes all registered global
DataSrcinstances, prioritizing the specified setup order. - start() - Method in interface com.github.sttk.sabi.DataAcc
-
Starts a sequential
LogicRunchain within the current data access context. - start() - Method in class com.github.sttk.sabi.DataHub
-
Starts a nested
LogicRunchain using thisDataHub. - start() - Method in class com.github.sttk.sabi.LogicRunner
-
Starts a sequential non-transactional
LogicRunchain. - state - Variable in class com.github.sttk.sabi.TxnFailureCause
-
The transaction failure cause state indicating the phase or status of the failure.
- state - Variable in class com.github.sttk.sabi.TxnFailureRollback
-
The transaction failure rollback state indicating the outcome of the rollback.
T
- TaskInterrupted() - Constructor for record class com.github.sttk.sabi.AsyncGroupError.TaskInterrupted
-
Creates an instance of a
TaskInterruptedrecord class. - toString() - Method in record class com.github.sttk.sabi.AsyncGroupError.ErrorOccurred
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.AsyncGroupError.RuntimeExceptionOccurred
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.AsyncGroupError.TaskInterrupted
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataConnError.FailToCastDataConn
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataConnError.FailToCommitDataConn
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataConnError.FailToPostCommitDataConn
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataConnError.FailToPreCommitDataConn
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataHubError.AbnormalState
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataHubError.FailToRunLogic
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataHubError.FailToSetupGlobalDataSrcs
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataHubError.FailToSetupLocalDataSrcs
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataHubError.NoDataSrcToCreateDataConn
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataSrcError.CreateDataConnIsNull
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataSrcError.FailToCastCreatedDataConn
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.DataSrcError.FailToCreateDataConn
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.ErrEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.LogicTxnError.ErrorOccurred
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.sttk.sabi.LogicTxnError.RuntimeExceptionOccurred
-
Returns a string representation of this record class.
- toString() - Method in class com.github.sttk.sabi.TxnFailureCause
-
Returns a string representation of this transaction failure cause.
- toString() - Method in class com.github.sttk.sabi.TxnFailureReport
-
Returns a string representation of this transaction failure report.
- toString() - Method in class com.github.sttk.sabi.TxnFailureRollback
-
Returns a string representation of this transaction failure rollback outcome.
- toTypeName() - Method in record class com.github.sttk.sabi.DataConnError.FailToCastDataConn
-
Returns the value of the
toTypeNamerecord component. - toTypeName() - Method in record class com.github.sttk.sabi.DataSrcError.FailToCastCreatedDataConn
-
Returns the value of the
toTypeNamerecord component. - txn(Logic) - Method in class com.github.sttk.sabi.LogicRunner
-
Executes the specified
Logicwithin a transaction, automatically handling pre-commit, commit, post-commit, rollback, and failure reporting. - TxnFailureCause - Class in com.github.sttk.sabi
-
Represents the cause of a transaction failure for a data connection, containing state information and the associated error.
- TxnFailureCause(TxnFailureCauseState, Err) - Constructor for class com.github.sttk.sabi.TxnFailureCause
-
Constructs a new
TxnFailureCausewith the specified failure state and error. - TxnFailureCauseState - Enum Class in com.github.sttk.sabi
-
Defines the states representing causes of transaction failures or non-failing statuses.
- TxnFailureRecovery - Enum Class in com.github.sttk.sabi
-
Defines recommended recovery actions to handle transaction failures.
- TxnFailureReport - Class in com.github.sttk.sabi
-
Reports the failure cause and rollback outcome for a single
DataConnwhen a transaction fails. - TxnFailureReport(String, String, TxnFailureCause, TxnFailureRollback) - Constructor for class com.github.sttk.sabi.TxnFailureReport
-
Constructs a new
TxnFailureReportwith the specified connection details, cause, and rollback outcome. - TxnFailureRollback - Class in com.github.sttk.sabi
-
Represents the rollback outcome of a data connection during transaction failure processing.
- TxnFailureRollback(TxnFailureRollbackState, Err) - Constructor for class com.github.sttk.sabi.TxnFailureRollback
-
Constructs a new
TxnFailureRollbackwith the specified rollback state and error. - TxnFailureRollbackState - Enum Class in com.github.sttk.sabi
-
Defines the rollback states of a data connection following a transaction failure.
- typeName() - Method in record class com.github.sttk.sabi.DataHubError.NoDataSrcToCreateDataConn
-
Returns the value of the
typeNamerecord component. - typeName() - Method in record class com.github.sttk.sabi.DataSrcError.CreateDataConnIsNull
-
Returns the value of the
typeNamerecord component. - typeName() - Method in record class com.github.sttk.sabi.DataSrcError.FailToCreateDataConn
-
Returns the value of the
typeNamerecord component.
U
- uses(String, DataSrc) - Static method in class com.github.sttk.sabi.Globals
-
Registers a global
DataSrcunder the specified name. - uses(String, DataSrc) - Method in class com.github.sttk.sabi.LogicRunner
-
Registers a session-local
DataSrcunder the specified name if execution has not yet begun.
V
- valueOf(String) - Static method in enum class com.github.sttk.sabi.TxnFailureCauseState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.sttk.sabi.TxnFailureRecovery
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.sttk.sabi.TxnFailureRollbackState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.github.sttk.sabi.TxnFailureCauseState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.sttk.sabi.TxnFailureRecovery
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.sttk.sabi.TxnFailureRollbackState
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages