Class ExpiredTransactionScanner

java.lang.Object
com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionScanner
All Implemented Interfaces:
ExpiryScanner
Direct Known Subclasses:
AtomicActionExpiryScanner

public class ExpiredTransactionScanner extends Object implements ExpiryScanner
This class is a plug-in module for the recovery manager. This class is responsible for the removing transaction status manager items that are too old.
  • Constructor Details

    • ExpiredTransactionScanner

      public ExpiredTransactionScanner(String typeName, String movedTypeName)
  • Method Details

    • scan

      public void scan()
      This is called periodically by the RecoveryManager
      Specified by:
      scan in interface ExpiryScanner
    • toBeUsed

      public boolean toBeUsed()
      Description copied from interface: ExpiryScanner
      Is this scanner to be used. (E.g. if zero age means "don't remove", and it has been set to zero, toBeUsed replies false)
      Specified by:
      toBeUsed in interface ExpiryScanner
    • moveEntry

      public boolean moveEntry(Uid newUid) throws ObjectStoreException
      Throws:
      ObjectStoreException