Class ExpiredContactScanner

java.lang.Object
com.arjuna.ats.internal.jts.recovery.contact.ExpiredContactScanner
All Implemented Interfaces:
ExpiryScanner

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

    • ExpiredContactScanner

      public ExpiredContactScanner()
  • 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