Class ExpiredAssumedCompleteScanner

java.lang.Object
com.arjuna.ats.internal.jts.recovery.transactions.ExpiredAssumedCompleteScanner
All Implemented Interfaces:
ExpiryScanner
Direct Known Subclasses:
ExpiredServerScanner, ExpiredToplevelScanner

public class ExpiredAssumedCompleteScanner extends Object implements ExpiryScanner
Implementation of
invalid reference
com.arjuna.CosRecovery.ExpiryScanner
for removing relics of transactions that have been assumed complete. Instances identify the particular object type to be scanned for.

Expiry time is determined by property ASSUMED_COMPLETE_EXPIRY_TIME.

  • Constructor Details

    • ExpiredAssumedCompleteScanner

      protected ExpiredAssumedCompleteScanner(String typeName, RecoveryStore recoveryStore)
  • Method Details

    • scan

      public void scan()
      Description copied from interface: ExpiryScanner
      perform a scan
      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