/** * notify the listener worker that a scan has completed * * <b>Caveats:</b> this must only be called when synchronized on {@link PeriodicRecovery#_stateLock} at the point * where Status transitions from SCANNING to INACTIVE */ private void notifyWorker() { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: scan thread signals listener worker"); } if(_workerService != null) { _workerService.notifyDone(); } _workerScanRequested = false; }
_workerService = new WorkerService(this);
_workerService.signalDone();
_workerService = new WorkerService(this);
_workerService = new WorkerService(this);
/** * notify the listener worker that a scan has completed * * <b>Caveats:</b> this must only be called when synchronized on {@link PeriodicRecovery#_stateLock} at the point * where Status transitions from SCANNING to INACTIVE */ private void notifyWorker() { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: scan thread signals listener worker"); } if(_workerService != null) { _workerService.notifyDone(); } _workerScanRequested = false; }
_workerService = new WorkerService(this);
/** * notify the listener worker that a scan has completed * * <b>Caveats:</b> this must only be called when synchronized on {@link PeriodicRecovery#_stateLock} at the point * where Status transitions from SCANNING to INACTIVE */ private void notifyWorker() { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: scan thread signals listener worker"); } if(_workerService != null) { _workerService.notifyDone(); } _workerScanRequested = false; }
_workerService = new WorkerService(this);
/** * notify the listener worker that a scan has completed * * <b>Caveats:</b> this must only be called when synchronized on {@link PeriodicRecovery#_stateLock} at the point * where Status transitions from SCANNING to INACTIVE */ private void notifyWorker() { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: scan thread signals listener worker"); } if(_workerService != null) { _workerService.notifyDone(); } _workerScanRequested = false; }
_workerService = new WorkerService(this);
/** * notify the listener worker that a scan has completed * * <b>Caveats:</b> this must only be called when synchronized on {@link PeriodicRecovery#_stateLock} at the point * where Status transitions from SCANNING to INACTIVE */ private void notifyWorker() { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: scan thread signals listener worker"); } if(_workerService != null) { _workerService.notifyDone(); } _workerScanRequested = false; }
_workerService = new WorkerService(this);
/** * notify the listener worker that a scan has completed * * <b>Caveats:</b> this must only be called when synchronized on {@link PeriodicRecovery#_stateLock} at the point * where Status transitions from SCANNING to INACTIVE */ private void notifyWorker() { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: scan thread signals listener worker"); } if(_workerService != null) { _workerService.notifyDone(); } _workerScanRequested = false; }
_workerService = new WorkerService(this);
/** * notify the listener worker that a scan has completed * * <b>Caveats:</b> this must only be called when synchronized on {@link PeriodicRecovery#_stateLock} at the point * where Status transitions from SCANNING to INACTIVE */ private void notifyWorker() { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: scan thread signals listener worker"); } if(_workerService != null) { _workerService.notifyDone(); } _workerScanRequested = false; }
_workerService = new WorkerService(this);
/** * notify the listener worker that a scan has completed * * <b>Caveats:</b> this must only be called when synchronized on {@link PeriodicRecovery#_stateLock} at the point * where Status transitions from SCANNING to INACTIVE */ private void notifyWorker() { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: scan thread signals listener worker"); } if(_workerService != null) { _workerService.notifyDone(); } _workerScanRequested = false; }
_workerService = new WorkerService(this);
/** * notify the listener worker that a scan has completed * * <b>Caveats:</b> this must only be called when synchronized on {@link PeriodicRecovery#_stateLock} at the point * where Status transitions from SCANNING to INACTIVE */ private void notifyWorker() { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("PeriodicRecovery: scan thread signals listener worker"); } if(_workerService != null) { _workerService.notifyDone(); } _workerScanRequested = false; }