/** * resume scanning operations * * This switches the recovery operation mode from SUSPENDED to RESUMED. Any threads which suspended when * they tried to start a scan will be woken up by this transition. */ public void resumeScan () { synchronized (_stateLock) { if (getMode() == Mode.SUSPENDED) { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: Mode <== ENABLED"); } setMode(Mode.ENABLED); _stateLock.notifyAll(); } } }
/** * resume scanning operations * * This switches the recovery operation mode from SUSPENDED to RESUMED. Any threads which suspended when * they tried to start a scan will be woken up by this transition. */ public void resumeScan () { synchronized (_stateLock) { if (getMode() == Mode.SUSPENDED) { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: Mode <== ENABLED"); } setMode(Mode.ENABLED); _stateLock.notifyAll(); } } }
/** * resume scanning operations * * This switches the recovery operation mode from SUSPENDED to RESUMED. Any threads which suspended when * they tried to start a scan will be woken up by this transition. */ public void resumeScan () { synchronized (_stateLock) { if (getMode() == Mode.SUSPENDED) { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: Mode <== ENABLED"); } setMode(Mode.ENABLED); _stateLock.notifyAll(); } } }
/** * resume scanning operations * * This switches the recovery operation mode from SUSPENDED to RESUMED. Any threads which suspended when * they tried to start a scan will be woken up by this transition. */ public void resumeScan () { synchronized (_stateLock) { if (getMode() == Mode.SUSPENDED) { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: Mode <== ENABLED"); } setMode(Mode.ENABLED); _stateLock.notifyAll(); } } }
/** * resume scanning operations * * This switches the recovery operation mode from SUSPENDED to RESUMED. Any threads which suspended when * they tried to start a scan will be woken up by this transition. */ public void resumeScan () { synchronized (_stateLock) { if (getMode() == Mode.SUSPENDED) { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: Mode <== ENABLED"); } setMode(Mode.ENABLED); _stateLock.notifyAll(); } } }
/** * resume scanning operations * * This switches the recovery operation mode from SUSPENDED to RESUMED. Any threads which suspended when * they tried to start a scan will be woken up by this transition. */ public void resumeScan () { synchronized (_stateLock) { if (getMode() == Mode.SUSPENDED) { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: Mode <== ENABLED"); } setMode(Mode.ENABLED); _stateLock.notifyAll(); } } }
/** * resume scanning operations * * This switches the recovery operation mode from SUSPENDED to RESUMED. Any threads which suspended when * they tried to start a scan will be woken up by this transition. */ public void resumeScan () { synchronized (_stateLock) { if (getMode() == Mode.SUSPENDED) { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: Mode <== ENABLED"); } setMode(Mode.ENABLED); _stateLock.notifyAll(); } } }
/** * resume scanning operations * * This switches the recovery operation mode from SUSPENDED to RESUMED. Any threads which suspended when * they tried to start a scan will be woken up by this transition. */ public void resumeScan () { synchronized (_stateLock) { if (getMode() == Mode.SUSPENDED) { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: Mode <== ENABLED"); } setMode(Mode.ENABLED); _stateLock.notifyAll(); } } }
/** * resume scanning operations * * This switches the recovery operation mode from SUSPENDED to RESUMED. Any threads which suspended when * they tried to start a scan will be woken up by this transition. */ public void resumeScan () { synchronized (_stateLock) { if (getMode() == Mode.SUSPENDED) { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: Mode <== ENABLED"); } setMode(Mode.ENABLED); _stateLock.notifyAll(); } } }
/** * resume scanning operations * * This switches the recovery operation mode from SUSPENDED to RESUMED. Any threads which suspended when * they tried to start a scan will be woken up by this transition. */ public void resumeScan () { synchronized (_stateLock) { if (getMode() == Mode.SUSPENDED) { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_CRASH_RECOVERY, "PeriodicRecovery: Mode <== ENABLED" ); } setMode(Mode.ENABLED); _stateLock.notifyAll(); } } }
/** * initialise the periodic recovery instance to a suitable initial state */ private void initialise () { setStatus(Status.INACTIVE); setMode(Mode.ENABLED); _recoveryPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryPeriod(); if (_recoveryPeriod != _defaultRecoveryPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("com.arjuna.ats.arjuna.recovery.PeriodicRecovery" + ": Recovery period set to " + _recoveryPeriod + " seconds"); } _backoffPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getRecoveryBackoffPeriod(); if (_backoffPeriod != _defaultBackoffPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery" + ": Backoff period set to " + _backoffPeriod + " seconds"); } }
/** * initialise the periodic recovery instance to a suitable initial state */ private void initialise () { setStatus(Status.INACTIVE); setMode(Mode.ENABLED); _recoveryPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryPeriod(); if (_recoveryPeriod != _defaultRecoveryPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("com.arjuna.ats.arjuna.recovery.PeriodicRecovery" + ": Recovery period set to " + _recoveryPeriod + " seconds"); } _backoffPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getRecoveryBackoffPeriod(); if (_backoffPeriod != _defaultBackoffPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery" + ": Backoff period set to " + _backoffPeriod + " seconds"); } _periodicRecoveryInitilizationOffset = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryInitilizationOffset(); }
/** * initialise the periodic recovery instance to a suitable initial state */ private void initialise () { setStatus(Status.INACTIVE); setMode(Mode.ENABLED); _recoveryPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryPeriod(); if (_recoveryPeriod != _defaultRecoveryPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("com.arjuna.ats.arjuna.recovery.PeriodicRecovery" + ": Recovery period set to " + _recoveryPeriod + " seconds"); } _backoffPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getRecoveryBackoffPeriod(); if (_backoffPeriod != _defaultBackoffPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery" + ": Backoff period set to " + _backoffPeriod + " seconds"); } _periodicRecoveryInitilizationOffset = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryInitilizationOffset(); }
/** * initialise the periodic recovery instance to a suitable initial state */ private void initialise () { setStatus(Status.INACTIVE); setMode(Mode.ENABLED); _recoveryPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryPeriod(); if (_recoveryPeriod != _defaultRecoveryPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("com.arjuna.ats.arjuna.recovery.PeriodicRecovery" + ": Recovery period set to " + _recoveryPeriod + " seconds"); } _backoffPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getRecoveryBackoffPeriod(); if (_backoffPeriod != _defaultBackoffPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery" + ": Backoff period set to " + _backoffPeriod + " seconds"); } _periodicRecoveryInitilizationOffset = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryInitilizationOffset(); }
/** * initialise the periodic recovery instance to a suitable initial state */ private void initialise () { setStatus(Status.INACTIVE); setMode(Mode.ENABLED); _recoveryPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryPeriod(); if (_recoveryPeriod != _defaultRecoveryPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("com.arjuna.ats.arjuna.recovery.PeriodicRecovery" + ": Recovery period set to " + _recoveryPeriod + " seconds"); } _backoffPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getRecoveryBackoffPeriod(); if (_backoffPeriod != _defaultBackoffPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery" + ": Backoff period set to " + _backoffPeriod + " seconds"); } _periodicRecoveryInitilizationOffset = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryInitilizationOffset(); }
/** * initialise the periodic recovery instance to a suitable initial state */ private void initialise () { setStatus(Status.INACTIVE); setMode(Mode.ENABLED); _recoveryPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryPeriod(); if (_recoveryPeriod != _defaultRecoveryPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("com.arjuna.ats.arjuna.recovery.PeriodicRecovery" + ": Recovery period set to " + _recoveryPeriod + " seconds"); } _backoffPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getRecoveryBackoffPeriod(); if (_backoffPeriod != _defaultBackoffPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery" + ": Backoff period set to " + _backoffPeriod + " seconds"); } _periodicRecoveryInitilizationOffset = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryInitilizationOffset(); }
/** * initialise the periodic recovery instance to a suitable initial state */ private void initialise () { setStatus(Status.INACTIVE); setMode(Mode.ENABLED); _recoveryPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryPeriod(); if (_recoveryPeriod != _defaultRecoveryPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("com.arjuna.ats.arjuna.recovery.PeriodicRecovery" + ": Recovery period set to " + _recoveryPeriod + " seconds"); } _backoffPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getRecoveryBackoffPeriod(); if (_backoffPeriod != _defaultBackoffPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery" + ": Backoff period set to " + _backoffPeriod + " seconds"); } _periodicRecoveryInitilizationOffset = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryInitilizationOffset(); }
/** * initialise the periodic recovery instance to a suitable initial state */ private void initialise () { setStatus(Status.INACTIVE); setMode(Mode.ENABLED); _recoveryPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryPeriod(); if (_recoveryPeriod != _defaultRecoveryPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("com.arjuna.ats.arjuna.recovery.PeriodicRecovery" + ": Recovery period set to " + _recoveryPeriod + " seconds"); } _backoffPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getRecoveryBackoffPeriod(); if (_backoffPeriod != _defaultBackoffPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery" + ": Backoff period set to " + _backoffPeriod + " seconds"); } _periodicRecoveryInitilizationOffset = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryInitilizationOffset(); }
/** * initialise the periodic recovery instance to a suitable initial state */ private void initialise () { setStatus(Status.INACTIVE); setMode(Mode.ENABLED); _recoveryPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryPeriod(); if (_recoveryPeriod != _defaultRecoveryPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("com.arjuna.ats.arjuna.recovery.PeriodicRecovery" + ": Recovery period set to " + _recoveryPeriod + " seconds"); } _backoffPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getRecoveryBackoffPeriod(); if (_backoffPeriod != _defaultBackoffPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery" + ": Backoff period set to " + _backoffPeriod + " seconds"); } _periodicRecoveryInitilizationOffset = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryInitilizationOffset(); }
/** * initialise the periodic recovery instance to a suitable initial state */ private void initialise () { setStatus(Status.INACTIVE); setMode(Mode.ENABLED); _recoveryPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryPeriod(); if (_recoveryPeriod != _defaultRecoveryPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("com.arjuna.ats.arjuna.recovery.PeriodicRecovery" + ": Recovery period set to " + _recoveryPeriod + " seconds"); } _backoffPeriod = recoveryPropertyManager.getRecoveryEnvironmentBean().getRecoveryBackoffPeriod(); if (_backoffPeriod != _defaultBackoffPeriod && tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery" + ": Backoff period set to " + _backoffPeriod + " seconds"); } _periodicRecoveryInitilizationOffset = recoveryPropertyManager.getRecoveryEnvironmentBean().getPeriodicRecoveryInitilizationOffset(); }