Methods Summary |
---|
public void | freeze()Freezes the transaction subsystem. This operation is advised before
an attempt is made to rollback any transactions to avoid the possibility of
transaction completion before the rollback request is issued. The transaction subsystem
is expected be active before it can be frozen. Calling this methd on
an already frozen transaction subsystem has no effect.
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getActiveIds()Returns the IDs of the transactions that are currently active, as a StrignStatistic.
An active transaction is same as an in-flight transaction. Every such transaction can be rolled back after
freezing the transaction service.
|
public com.sun.enterprise.admin.monitor.stats.StringStatistic | getState()Returns the current state of the transaction service as a StringStatistic.
|
public java.lang.Boolean | isRecoveryRequired()Utility method to find out if in place recovery is required.
|
public java.util.List | listActiveTransactions()Rolls back the given transactions. It is advisable to call this method
when the transaction subsystem is in a frozen state so that transactions
won't be completed before this request. It is left to implementation how
the transactions are rolled back.
|
public java.lang.String | rollback(java.lang.String txnId)Rolls back a given transaction. It is advisable to call this method
when the transaction subsystem is in a frozen state so that transactions
won't be completed before this request. It is left to implementation how
the transactions are rolled back.
|
public void | unfreeze()Unfreezes the transaction subsystem. It is required to unfreeze the
transaction subsystem after it is frozen earlier.
Calling this method when system is not active, has no effect.
|