public interface GFJTAStats extends JTAStats
| Modifier and Type | Method and Description |
|---|---|
void |
freeze()
Freezes the transaction subsystem.
|
StringStatistic |
getActiveIds()
Returns the IDs of the transactions that are currently active, as a StrignStatistic.
|
StringStatistic |
getState()
Returns the current state of the transaction service as a StringStatistic.
|
Boolean |
isRecoveryRequired()
Utility method to find out if in place recovery is required.
|
List<Map<String,String>> |
listActiveTransactions()
Rolls back the given transactions.
|
String |
rollback(String txnId)
Rolls back a given transaction.
|
void |
unfreeze()
Unfreezes the transaction subsystem.
|
getActiveCount, getCommittedCount, getRolledbackCountgetStatistic, getStatisticNames, getStatisticsStringStatistic getActiveIds()
JTAStats.getActiveCount()StringStatistic getState()
void freeze()
void unfreeze()
String rollback(String txnId)
String - representing the unique id of the transaction that
needs to be rolled-back. Every transaction that can be rolled back
has to be an in flight transaction.List<Map<String,String>> listActiveTransactions()
String - array representing the unique ids of the transactions that
need to be frozen. Every transaction that can be rolled back has to be an
in flight transaction.Boolean isRecoveryRequired()
Copyright © 2014. All rights reserved.