/** * given an exported file that has no imported acknowledgment file * check if the time the file was exported exceed the configured waiting time * then return true to indicate the file need to be resend otherwise return false to keep waiting * @param string $exportedFile the exported file that don't currently have an imported acknowledgment file * @return bool true exported file exceed the configured waiting time otherwise false */ protected function _isTimedOut($exportedFile) { return $this->_coreHelper->getFileTimeElapse($exportedFile) > (int) $this->_getConfigMapValue(self::CFG_WAIT_TIME_LIMIT); }