|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JTAStats
Defines additional Sun ONE Application Server specific statistic to transaction service.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.glassfish.j2ee.statistics.JTAStats |
|---|
getActiveCount, getCommittedCount, getRolledbackCount |
| Methods inherited from interface org.glassfish.j2ee.statistics.Stats |
|---|
getStatistic, getStatisticNames, getStatistics |
| Method Detail |
|---|
StringStatistic 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||