Class TransactionManager
java.lang.Object
com.swiftmq.impl.store.standard.transaction.TransactionManager
- All Implemented Interfaces:
CheckPointHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
long
long
createTxId
(boolean doWait) int
long
void
initiateCheckPoint
(CheckPointFinishedListener finishedListener) boolean
void
void
void
removeTxId
(long txId) toString()
-
Constructor Details
-
TransactionManager
-
-
Method Details
-
getTxidCount
public long getTxidCount() -
getActiveTransactions
public int getActiveTransactions() -
isCheckPointInProgress
public boolean isCheckPointInProgress() -
lockForCheckPoint
public void lockForCheckPoint()- Specified by:
lockForCheckPoint
in interfaceCheckPointHandler
-
performCheckPoint
public void performCheckPoint()- Specified by:
performCheckPoint
in interfaceCheckPointHandler
-
checkPointDone
public void checkPointDone()- Specified by:
checkPointDone
in interfaceCheckPointHandler
-
initiateCheckPoint
-
createTxId
public long createTxId() -
createTxId
public long createTxId(boolean doWait) -
removeTxId
public void removeTxId(long txId) -
toString
-