Class DelegatedRecoveryManager


  • public class DelegatedRecoveryManager
    extends Object
    This class manages information required for Delegated recovery. This class supports multiple delegated recoveries at the same time. Functionality is alsomost same as RecoveryManager.java. This class maintains the map between state and log location instead of static data incase of Recovery Manager.
    Version:
    0.01
    Author:
    Sankara Rao Bhogi
    • Constructor Detail

      • DelegatedRecoveryManager

        public DelegatedRecoveryManager()
    • Method Detail

      • waitForRecovery

        public static void waitForRecovery​(String logPath)
      • waitForResync

        public static void waitForResync​(String logPath)
        Waits for resync to complete.
        Parameters:
        logPath - log location for which the delegated recovery is done