(id)
| 24 | } |
| 25 | |
| 26 | startJob(id) { |
| 27 | debug(`LoadEstimator.startJob(): jobType = ${this.jobType}, id = ${id}`); |
| 28 | this._addIntegratedLoad(); |
| 29 | if (_.has(this.currentJobs, id)) { |
| 30 | logger.error(`load.startJob(): ${this.jobType} id already running: ${id}`); |
| 31 | } |
| 32 | this.currentJobs[id] = {startMS: Date.now()}; |
| 33 | } |
| 34 | |
| 35 | endJob(id) { |
| 36 | debug(`LoadEstimator.endJob(): jobType = ${this.jobType}, id = ${id}`); |
no test coverage detected