クラス LocalTransactionManager
java.lang.Object
org.iplass.mtp.impl.transaction.LocalTransactionManager
- すべての実装されたインタフェース:
Manager,TransactionManager
-
フィールドの概要
フィールド -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidprotected TransactioncreateTran(boolean readOnly, boolean noTransaction) 現在のトランザクションを取得します。新規にトランザクションを開始する。newTransaction(boolean readOnly) 新規に読み込み専用とマークしたトランザクションを開始する。voidサスペンドされたトランザクションを復帰します。suspend()トランザクションをサスペンドします。クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド org.iplass.mtp.transaction.TransactionManager
doTransaction
-
フィールド詳細
-
transaction
-
-
コンストラクタの詳細
-
LocalTransactionManager
public LocalTransactionManager()
-
-
メソッドの詳細
-
newTransaction
インタフェースからコピーされた説明:TransactionManager新規にトランザクションを開始する。- 定義:
newTransactionインタフェース内TransactionManager- 戻り値:
-
currentTransaction
インタフェースからコピーされた説明:TransactionManager現在のトランザクションを取得します。 トランザクションが開始されていない場合、TransactionStatus.NONEのTransactionが返却されます。 サスペンドされている場合はTransactionStatus.SUSPENDEDのTransactionが返却されます。- 定義:
currentTransactionインタフェース内TransactionManager- 戻り値:
-
checkAndClean
public void checkAndClean() -
newTransaction
インタフェースからコピーされた説明:TransactionManager新規に読み込み専用とマークしたトランザクションを開始する。- 定義:
newTransactionインタフェース内TransactionManager- パラメータ:
readOnly-- 戻り値:
-
createTran
-
suspend
インタフェースからコピーされた説明:TransactionManagerトランザクションをサスペンドします。 サスペンドされた状態(Transacton.status=SUSPENDED)であることを示すTransactionインスタンスが返却されます。- 定義:
suspendインタフェース内TransactionManager- 戻り値:
- サスペンド状態のTransaction
-
resume
インタフェースからコピーされた説明:TransactionManagerサスペンドされたトランザクションを復帰します。- 定義:
resumeインタフェース内TransactionManager- パラメータ:
t- suspend()の際取得したTransactionインスタンス
-