Checkfree transaction managed in specified layer:
In a dedicated class, say TransactionAdapter, it encapsulated the transaction handling over com.checkfree.isolutions.persist.PersistServer
1. begainTransaction: PersistServer.activate() -> PersistServer.beginTransaction()
2. commitTransaction: PersistServer.commitTransaction() -> PersistServer.deactivate()
3. rollbackTransaction: PersistServer.rollbackTransaction() -> PersistServer.deactivate()
try{
txnStarted = TransactionAdapter.beginTransaction();
// boolean flag = checkfree invocation
}finally{
if(flag == "success" )
TransactionAdapter.commitTransaction(txnStarted);
else
TransactionAdapter.rollbackTransaction(txnStarted);
}
分享到:
相关推荐
In our example, if one transaction (T1) holds an exclusive lock at the table level, and another transaction (T2) holds an exclusive lock at the row level, each of the transactions believe they have ...
- **Server Mode**、**Check-point in progress**:服务器模式和检查点过程。 - **Thread Spawn Rate**、**Virtual Processors**:多线程和处理器利用率。 - **Resident Memory**、**Message Buffer Memory**:...
- **CFP (Contention-Free Period)**:无竞争周期,期间只有预分配的设备才能发送数据。 - **CID (Cluster Identifier)**:簇标识符,用于标识特定类型的设备。 - **CLH (Cluster Head)**:簇头,簇内的中心节点。 -...
- **DUMP TRANSACTION**:用于在日志中创建事务转储,通常与NO_LOG选项一起使用,以在不记录的情况下回滚事务。 在实际使用中,DBCC命令通常会结合其他T-SQL语句一起使用,例如在创建临时表存储结果,或者通过...
- **Definition**: TimesTen is an in-memory database management system designed for high-speed transaction processing and real-time analytics. - **Purpose**: It is used to enhance application ...
This field is off by default and can be turned on from the settings Window LOCK 1394 lock transaction NSTS Windows 4 byte kernel mode NTSTATUS field RSET Bus or device reset RSTS ...
- Disk space: 6 Meg of free hard disk space (plus an additional 10Meg to run the Disk test) - DirectX 9.0c or above software for 3D graphics and video tests (plus working DirectX drivers for your ...
Computer Networking: A Top-Down Approach, 6th Edition Solutions to Review Questions and Problems Version Date: May 2012 ...This document contains the solutions to review questions and problems for...