Class LocalRecoveryManager


  • public class LocalRecoveryManager
    extends java.lang.Object
    The local transactions mode recovery manager which is used to trigger full recovery of all caches configured with local transaction mode.
    Author:
    Ludovic Orban
    • Constructor Detail

      • LocalRecoveryManager

        public LocalRecoveryManager​(TransactionIDFactory transactionIdFactory)
        Create a LocalRecoveryManager instance
        Parameters:
        transactionIdFactory - the TransactionIDFactory
    • Method Detail

      • recover

        public java.util.Set<TransactionID> recover()
        Run recovery on all registered local transaction stores. The latter are used internally by caches when they're configured with local transaction mode.
        Returns:
        the set of recovered TransactionIDs
      • getPreviouslyRecoveredTransactionIDs

        public java.util.Set<TransactionID> getPreviouslyRecoveredTransactionIDs()
        Get the set of transaction IDs collected by the previous recover() call
        Returns:
        the set of previously recovered TransactionIDs