org.jpos.transaction
Class PausedTransaction

java.lang.Object
  extended by org.jpos.transaction.PausedTransaction
All Implemented Interfaces:
Loggeable

public class PausedTransaction
extends java.lang.Object
implements Loggeable


Constructor Summary
PausedTransaction(TransactionManager txnmgr, long id, java.util.List<TransactionParticipant> members, java.util.Iterator<TransactionParticipant> iter, boolean aborting, java.util.TimerTask expirationMonitor, Profiler prof)
           
 
Method Summary
 void cancelExpirationMonitor()
           
 void dump(java.io.PrintStream p, java.lang.String indent)
           
 void forceAbort()
           
 Profiler getProfiler()
           
 TransactionManager getTransactionManager()
           
 long id()
           
 boolean isAborting()
           
 boolean isResumed()
           
 java.util.Iterator<TransactionParticipant> iterator()
           
 java.util.List<TransactionParticipant> members()
           
 void setResumed(boolean resumed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PausedTransaction

public PausedTransaction(TransactionManager txnmgr,
                         long id,
                         java.util.List<TransactionParticipant> members,
                         java.util.Iterator<TransactionParticipant> iter,
                         boolean aborting,
                         java.util.TimerTask expirationMonitor,
                         Profiler prof)
Method Detail

id

public long id()

members

public java.util.List<TransactionParticipant> members()

iterator

public java.util.Iterator<TransactionParticipant> iterator()

dump

public void dump(java.io.PrintStream p,
                 java.lang.String indent)
Specified by:
dump in interface Loggeable

isAborting

public boolean isAborting()

forceAbort

public void forceAbort()

getTransactionManager

public TransactionManager getTransactionManager()

setResumed

public void setResumed(boolean resumed)

isResumed

public boolean isResumed()

getProfiler

public Profiler getProfiler()

cancelExpirationMonitor

public void cancelExpirationMonitor()