()
| 1512 | } |
| 1513 | |
| 1514 | stopHeartbeatLoop() { |
| 1515 | this._running = false; |
| 1516 | if (this._heartbeatTimer) { |
| 1517 | clearTimeout(this._heartbeatTimer); |
| 1518 | this._heartbeatTimer = null; |
| 1519 | } |
| 1520 | if (this._driftInterval) { |
| 1521 | clearInterval(this._driftInterval); |
| 1522 | this._driftInterval = null; |
| 1523 | } |
| 1524 | } |
| 1525 | |
| 1526 | getHeartbeatStats() { |
| 1527 | return { |