org.apache.geronimo.transaction.manager
Class RecoveryImpl

java.lang.Object
  extended by org.apache.geronimo.transaction.manager.RecoveryImpl
All Implemented Interfaces:
Recovery

public class RecoveryImpl
extends java.lang.Object
implements Recovery

Version:
$Rev: 1026099 $ $Date: 2010-10-22 02:42:58 +0800 (Fri, 22 Oct 2010) $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.geronimo.transaction.manager.Recovery
Recovery.XidBranchesPair
 
Constructor Summary
RecoveryImpl(TransactionManagerImpl txManager)
           
 
Method Summary
 java.util.Map<javax.transaction.xa.Xid,TransactionImpl> getExternalXids()
           
 java.util.List<java.lang.Exception> getRecoveryErrors()
           
 boolean hasRecoveryErrors()
           
 boolean localRecoveryComplete()
           
 int localUnrecoveredCount()
           
 void recoverLog()
           
 void recoverResourceManager(NamedXAResource xaResource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecoveryImpl

public RecoveryImpl(TransactionManagerImpl txManager)
Method Detail

recoverLog

public void recoverLog()
                throws javax.transaction.xa.XAException
Specified by:
recoverLog in interface Recovery
Throws:
javax.transaction.xa.XAException

recoverResourceManager

public void recoverResourceManager(NamedXAResource xaResource)
                            throws javax.transaction.xa.XAException
Specified by:
recoverResourceManager in interface Recovery
Throws:
javax.transaction.xa.XAException

hasRecoveryErrors

public boolean hasRecoveryErrors()
Specified by:
hasRecoveryErrors in interface Recovery

getRecoveryErrors

public java.util.List<java.lang.Exception> getRecoveryErrors()
Specified by:
getRecoveryErrors in interface Recovery

localRecoveryComplete

public boolean localRecoveryComplete()
Specified by:
localRecoveryComplete in interface Recovery

localUnrecoveredCount

public int localUnrecoveredCount()
Specified by:
localUnrecoveredCount in interface Recovery

getExternalXids

public java.util.Map<javax.transaction.xa.Xid,TransactionImpl> getExternalXids()
Specified by:
getExternalXids in interface Recovery


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.