Class ExpiredTransactionScanner
java.lang.Object
com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionScanner
- All Implemented Interfaces:
ExpiryScanner
- Direct Known Subclasses:
AtomicActionExpiryScanner
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 Summary
-
Method Summary
-
Constructor Details
-
ExpiredTransactionScanner
-
-
Method Details
-
scan
public void scan()This is called periodically by the RecoveryManager- Specified by:
scan
in interfaceExpiryScanner
-
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 interfaceExpiryScanner
-
moveEntry
- Throws:
ObjectStoreException
-