Class WSATRuntimeConfig.WSATRecoveryEventListener

    • Constructor Detail

      • WSATRecoveryEventListener

        public WSATRecoveryEventListener()
    • Method Detail

      • beforeRecovery

        public void beforeRecovery​(boolean delegated,
                                   String instance)
        Description copied from interface: WSATRuntimeConfig.RecoveryEventListener
        Indicate to the listener that recovery for a specific instance is about to start.
        Specified by:
        beforeRecovery in interface WSATRuntimeConfig.RecoveryEventListener
        Parameters:
        delegated - identifies whether it is part of a delegated transaction recovery
        instance - the instance name for which transaction recovery is performed, null if unknown
      • afterRecovery

        public void afterRecovery​(boolean success,
                                  boolean delegated,
                                  String instance)
        Description copied from interface: WSATRuntimeConfig.RecoveryEventListener
        Indicate to the listener that recovery is over.
        Specified by:
        afterRecovery in interface WSATRuntimeConfig.RecoveryEventListener
        Parameters:
        success - true if the recovery operation finished successfully
        delegated - identifies whether it is part of a delegated transaction recovery
        instance - the instance name for which transaction recovery is performed, null if unknown