()
| 43 | } |
| 44 | |
| 45 | close() { |
| 46 | debug(`LoadEstimator.close(): jobType = ${this.jobType}`); |
| 47 | this.active = false; |
| 48 | if (this.timeoutID != null) { |
| 49 | debug(`LoadEstimator.close(): jobType = ${this.jobType}, clearing timeout`); |
| 50 | clearTimeout(this.timeoutID); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | _getAndResetLoadEstimate() { |
| 55 | debug(`LoadEstimator._getAndResetLoadEstimate(): jobType = ${this.jobType}`); |
no test coverage detected